activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sharpor <>
Subject Re: How can I connect to Websphere MQ?
Date Sat, 30 May 2009 00:33:38 GMT

Thank you all very much!

I used Bruce's method to config my Xbean and got a xml parsed error said
that util:constant error. After changing it to <property
name="transportType" value="1"/>, it works! That means websphere mq can get
message from activemq.

As my original thought, when the local activemq couldn't connect to the
websphere mq for some reason, activemq should keep the message and once
activemq finds that it can re-connect to the websphere mq, it will
automatically send the message to the websphere mq.

To verify this, I shutdown that websphere mq and found the message is kept
in activemq. but I found the error shown in activemq console said
MQRC_CONNECTION_BROKEN and when i re-start the websphere mq , the activemq
could not send the kept messages to the websphere mq and even more, it
couldn't transfer new message to the websphere mq. 
Doesn't activemq support the feature I thought above or I should do some
Any friend could give me a help? Thank you.

bsnyder wrote:
> On Fri, May 29, 2009 at 6:39 AM, Joe Fernandez
> <> wrote:
>> I'd recommend Camel and its JMS component to develop a bridge between the
>> two
>> JMS providers.
> To actually connection to WebspherMQ, you'll need to configure a bean
> for the WebphereMQ connection factory. Below is an example:
> <bean id="mqConnectionFactory"
> class="">
>     <property name="transportType">
>       <util:constant
> static-field="" />
>     </property>
>     <property name="queueManager" value="QMGR_NAME_GOES_HERE" />
>     <property name="hostName" value="HOST_ADDRESS_GOES_HERE" />
>     <property name="channel" value="QMGR_CHANNEL_NAME_GOES_HERE" />
>     <property name="port" value="PORT_NUMBER_GOES_HERE" />
>   </bean>
> Bruce
> -- 
> perl -e 'print
> unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> );'
> ActiveMQ in Action:
> Blog:
> Twitter:

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message