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.
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.
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.
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.
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.