IBM Client Application For JMS - Put JMS messages in queues
I had the need to be able to place a JMS Message onto a Service Integration Bus Queue. I tried to use the SIBus Explorer, but it really didn’t like my WebSphere v6.1 configuration and would always throw an exception.
I then checked out the IBM Client Application Tool for JMS pointed out to me by David Currie a few months ago. It’s actually really awesome. It does require an application server in order to reference jars that are required for the classpath, but if you have an install somewhere, this is a tool you will like.
Basically, you can connect to any remote WebSphere server and use JNDI to lookup JMS resources and create JMS messages. For my remote server the provider url is of the form:
corbaloc:iiop:<hostname>:<Server Bootstrap Port>
corbaloc:iiop:danhost:2809
There is one caveat: If you are looking up a connection factory on a remote machine, then the JMS connection factory will need to have it’s Provider Endpoint configured. By default, this value is blank which stands for ‘localhost’. If ‘localhost’ doesn’t host your bus then you will get connection errors. It follows the standard:
<host_name>:<SIBus Bootsctrap messaging port>:BootstrapBasicMessaging
danhost:7276:BootstrapBasicMessaging
Once you have set that up in the connection factory, restart your server and now the IBM Client for JMS will connect to the given connection factory. You can then connect to a queue and start putting messages on remote destinations.
Related Posts
- Default Messaging (SIBus): Modifying JMS ConnectionFactory Provider Endpoints requires a server restart
- SIBus Explorer
- Web services with SOAP/JMS in IBM WebSphere Process Server
- Do not use forward slashes in SIBus Destination names with JMS
- Connecting to Oracle BPEL hosted on WebSphere Application Server 6.1 with JDeveloper
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply