This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Questions on MDB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Questions on MDB" Watch "Questions on MDB" New topic

Questions on MDB

sai dev

Joined: Jan 09, 2007
Posts: 6

Can anybody please clarify by doubts.

1. What is a replyTo queue? How to configure and use it.

2.How can I specify an expiration time for a message.

3.If I have found some problem while processing a message , I heard there is an option that We can send them to some error queue which is configured as Backout queue. How can we do this backout queue configuration. How will we specify which is backout queue and which is normal queue. The procedure is same for both types of queues?

4. What is JAXM. Is it related to webservices. Whare will we use it.

5.What is a message push. Can anybody please tell me how to specify and where to specify. What is meant by creating multiple queue sessions and setting up a thread manager ( with threadpool) in onMessage() method.

6.What is meant by a scheduler like quartz ( open source scheduler). If I want to do some thing for each new employer entry then we can write triggers in DB. I heard schedulers are best for this task. Can anybody please tell me how to use them?

Thanks in advance.Appreciate your help.
Bhaskar Rao

Joined: Apr 25, 2005
Posts: 23

Q1) The replyTo queue is used to send the response after its has been processed by the MDB. Say, if some application X is waiting for the response generated by the MDB.

Q2) The Exipration value can be set using setJMSExpiration method of javax.jms .Message.

Q3) The blackout queue is usually vendor specific.
sai dev

Joined: Jan 09, 2007
Posts: 6
Thank you very much bhasker. So, replyTo queue is just another queue to which MDB will send the message which in turn consumed by another application. Am I correct.

Can You please tell whether web sphere have this blackout queue option. And where can I get the information on this.
I agree. Here's the link:
subject: Questions on MDB
It's not a secret anymore!