File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Websphere and the fly likes IBM MQ   example Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "IBM MQ   example " Watch "IBM MQ   example " New topic

IBM MQ example

vinayakan god

Joined: Jul 14, 2006
Posts: 2

I am new to IBM MQ, now iam working in mule ESB, so i have to integrate mule with IBM MQ. please explain me to quick start the sample example.

if you have sample example or guide, please send to me

Thanks Lot
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968

I provided some JMS info on this JavaRanch thread:

JMS Thread with Links

Hope it helps.

-Cameron McKenzie

Here's a full tutorial on setting up your WebSphere Test Environment to support a message driven bean:

Configuring JMS Messaging in the IRAD WebSphere Test Environment (WTE)

From there, there is a tutorial that demonstrates how to create a an MDB and bind it to the JMS message queue.

Free CBT Tutorial on creating JMD MDBs with IRAD 6.x

Here's some of the sample code from a stateless session EJB client (SLSB) placing a message on the created queue, which gets read by the MDB:

/*This SLSB places a message on a message queue, which is then consumed by the MDB*/

Z Chen

Joined: Feb 01, 2008
Posts: 3
Have you made it work yet? I am having problem with MQ as the following exception,

Invalid resource type. Expected javax.jms.ConnectionFactory, but got
ming.Reference (org.mule.umo.lifecycle.InitialisationException)
org.mule.providers.jms.JmsConnector:235 (


I agree. Here's the link:
subject: IBM MQ example
jQuery in Action, 3rd edition