WorksheetsJMS Fundamentals
Total questions: 11
Worksheet time: 6mins
Apache ActiveMQ is a_______
JMS Provider
MOM
Broker
All of these
Which of the following file is used to specify configurations?
jndi
jndi-properties.xml
jndi.properties
jndi.json
JMS API is provided in which of the following package?
java.lang.jms
java.jms
javax.jms
java.api.jms
We can have only one consumer in _____
Parent-Student model
P2P model
Publish subscribe model
None of these
Which of the following is a destination in JMS?
queue
topic
stack
LinkedList
How to access the expired message?
Using msgQueue
Using expiryQueue of a JMS provider
Can't access
None of these
Which of the following method is used to received a body of message?
receiveMsg()
receiveBody()
receiveText
receiveUTF
What is a default priority of a Message ?
1
2
4
9
Which of the following method is used to delay the message delivery?
SetDeliveryDelay(int n);
SetDelay(int n);
SetDelivery(int n);
Thread.sleed(int n);
Which of the following is not a valid Message type?
TextMessage
BytesMessage
StreamMessage
DefaultMessage
Did you enjoy the session? Write a one-liner feedback.
