|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Cobol - JMS format |
« View previous topic :: View next topic » |
Author |
Message
|
alfreson |
Posted: Wed Jun 22, 2005 6:29 am Post subject: Cobol - JMS format |
|
|
Newbie
Joined: 22 Jun 2005 Posts: 2
|
Hi everybody!
From an AS400, and a Cobol program, we need to send an XML message on an MQ-Series queue. The problem is that the client application waits for a JMS-format! How can we parametrize the message with the API to send it on MQ with a JMS-format??? Via MQMD? Which parameter? Which constant?
Thank you very much for your help!
AL & Arnaud |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Jun 22, 2005 6:39 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You need to attach an MQRFH2 header.
Or configure the client application queue destination so that the Target Client type is "MQ", not "JMS". _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
EddieA |
Posted: Wed Jun 22, 2005 6:56 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Quote: |
The problem is that the client application waits for a JMS-format |
Is the client app JMS. If so, it should work even if the message doesn't have an RFH2. Unless it's looking for something in the properties.
Even if it's not JMS, unless it needs a property set, it really should be written to look at the message Format to see what arrived.
Quote: |
Or configure the client application queue destination so that the Target Client type is "MQ", not "JMS" |
For GETing a message Jeff.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Jun 22, 2005 7:00 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
EddieA wrote: |
Quote: |
Or configure the client application queue destination so that the Target Client type is "MQ", not "JMS" |
For GETing a message Jeff. |
Yes.... MDBs use Queue Destinations to find out what queue to open for input, as do well behaved JMS applications that are *not* in a request/reply pattern.
I would expect this to be handled appropriately regardless, when creating new JMSMessage objects. But it's worth trying, innit? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|