• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JMS using JBoss

 
Ranch Hand
Posts: 280
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
Please tell me on how to write JMS programs using JBoss 4.2.2 GA as an Application Server. Any code examples or resources would be helpful.
Thanks in advance.
 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

First you should install JBoss AS 4.2.2 GA and Jboss messaging ( the latest one ) as well. Please read the documentation carefully as you should configure it properly prior any use.

Here is the link which can be useful:

http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/guide-1.0.1.SP5/html_single/index.html#d0e937

Also by downloading Jboss messaging, there are many useful/working examples which you can start to work with.

Everything is in their web site as long as you read the documentation carefully and not to mix everything up.
 
Siddharth Bhargava
Ranch Hand
Posts: 280
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How do we create administered objects (ConnectionFactory and Destination) in JBoss?. Please guide.
 
Amir Pourteymour
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Find jbossmq-destinations-service.xml in your jboss installation folder. By adding given lines you can do whatever you want to do with your destinations.



You can also see how they created their default queues, and you get good ideas how to set security issues and etc.

Cheers,
Amir
 
Siddharth Bhargava
Ranch Hand
Posts: 280
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I got how queues are created. But I am not able to understand how to create QueueConnectionFactory and TopicConnectionFactory which the jndi will lookup for. Please clear my doubts if i have missed something.
Thanks.
 
Amir Pourteymour
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The same way, but the mbean code is different. You have to see the document to see how exactly they will be created. If you read through JBoss manual you can see how to create every single of them.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic