aspose file tools*
The moose likes JBoss/WildFly and the fly likes Configure JMSConnection factory and JMSQueue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Configure JMSConnection factory and JMSQueue" Watch "Configure JMSConnection factory and JMSQueue" New topic
Author

Configure JMSConnection factory and JMSQueue

mehra sweety
Greenhorn

Joined: Apr 02, 2007
Posts: 5
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

Joined: Jul 20, 2005
Posts: 10102
    
165

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


[My Blog] [JavaRanch Journal]
mehra sweety
Greenhorn

Joined: Apr 02, 2007
Posts: 5
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

Joined: Jul 20, 2005
Posts: 10102
    
165

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

Joined: Apr 02, 2007
Posts: 5
thanks for reply
Error destination:When redelivery limit is reached,then messages are delivered to error destination(say other queue)
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10102
    
165

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Configure JMSConnection factory and JMSQueue