Hi,

The below configuration might help you out in consuming the message from
the mqueue. It did work for me.
I have deployed that as a xbean component.

<jms:endpoint service="test:MyMQService"
                   endpoint="mq"
                   targetService="test:customComponent"
                   targetEndpoint="customComponent"
                   role="consumer"
                   destinationStyle="queue"
                   jmsProviderDestinationName="QUEUE_NAME"
                   connectionFactory="#connectionFactory"
                   defaultMep="http://www.w3.org/2004/08/wsdl/in-only";
/>


<bean id="connectionFactory"
class="com.ibm.mq.jms.MQQueueConnectionFactory">
      <property name="transportType" value="1"/>
      <property name="queueManager" value="QMGR_NAME" />
      <property name="hostName" value="server_address" />
      <property name="channel" value="QMGR_CHANNEL_NAME" />
      <property name="port" value="1414" />
 </bean>

Warm Regards,
Anshuk Pal Chaudhuri

-----Original Message-----
From: carmichs [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 20, 2007 9:23 PM
To: [email protected]
Subject: JMS Binding component from MQSeries


Hi,

Does anyone have a configuration example of connecting a jms binding
component to MQSeries?
I am trying to pick up a message off of an MQSeries v5.3 queue to pass
on to
our service engine. 
I have an example of the same thing using ActiveMQ working on the
frontend,
but can't seem to figure out how to modify the configuration options to
use
MQSeries as the external resource.  I have referred to the JMS Binding
conmponent doc where the properties are defined, but can't seem to match
those up with the MQ jndi settings I need.  

Below is what I am trying to do

client --> MQSeries queue --> jms binding component --> nmr --> jsr181
service engine

Any help is greatly appreciated.

Thanks!

Steve
-- 
View this message in context:
http://www.nabble.com/JMS-Binding-component-from-MQSeries-tf4299709s1204
9.html#a12238485
Sent from the ServiceMix - User mailing list archive at Nabble.com.


**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are 
not to copy, disclose, or distribute this e-mail or its contents to any other 
person and any such actions are unlawful. This e-mail may contain viruses. 
Infosys has taken every reasonable precaution to minimize this risk, but is not 
liable for any damage you may sustain as a result of any virus in this e-mail. 
You should carry out your own virus checks before opening the e-mail or 
attachment. Infosys reserves the right to monitor and review the content of all 
messages sent to or from this e-mail address. Messages sent to or from this 
e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

Reply via email to