Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Configure JMSConnection factory and JMSQueue

 
mehra sweety
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am migrating my project from Weblogic to JBoss so

Can anyboady help me in
configuring JMS message queues and Connectionfactory in JBoss?
What descriptors are needed?
If possible then give a detailed example
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use the ConnectionFactory that comes by default in JBoss. You will just have to do a lookup of that in your application. As far as creating queues/topics is concerned, see if this helps. Also, there's this chapter about JMS on JBoss which might help Messaging in JBoss
 
mehra sweety
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks but I do not know what attribute should I enter in JBoss configuration for the following:


<Redelivery Delay Override>


RedeliveryLimit


StoreEnable


ErrorDestination



Please tell me if anybody know
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here's how you can set the RedeliveryDelay and RedeliveryLimit as follows:




Not sure what the StoreEnable and ErrorDestination attributes are meant to do. Can you explain more about those?
 
mehra sweety
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for reply
Error destination:When redelivery limit is reached,then messages are delivered to error destination(say other queue)
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure if there's such a feature where on redelivery limit the message will be delivered to a different destination. However, there's a way where "expired" messages can be directed to a different destination : ExpiryDestination
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic