Author |
Message
|
r4lukk4 |
Posted: Mon Dec 04, 2006 12:51 pm Post subject: Send a message |
|
|
Novice
Joined: 29 Nov 2006 Posts: 20
|
I need your help, i´m very new with MQ and i need an example to put a XML message into one Mq queue when other message arrieve to another one queue. I know it´s very simple but i´m not able to do it.
Thanks a lot for your help. _________________ R4lukk4 |
|
Back to top |
|
 |
elvis_gn |
Posted: Mon Dec 04, 2006 1:15 pm Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi r4lukk4,
You can set a trigger on a queue to run any application (java program called from a exe file) when a message arrives into it. This will require some configuration on the queue and info on this can be found on this forum.
Next, the called application, as mentioned above could be a java app, which could put a message on another queue as you wanted. For sample code, u can look above in the repository or go to the IBM website.
Ok, I hope you were not looking for something else, coz I noticed this topic to be in the Workflow section
Regards. |
|
Back to top |
|
 |
r4lukk4 |
Posted: Mon Dec 04, 2006 1:24 pm Post subject: |
|
|
Novice
Joined: 29 Nov 2006 Posts: 20
|
Hi elvis_gn,
Firstly, thanks for the information.
I have a doubt, would it be possible to do by a workflow, instead of a program? Really, i now with Mq and i´m very confused.
Thanks.
Regards. _________________ R4lukk4 |
|
Back to top |
|
 |
elvis_gn |
Posted: Mon Dec 04, 2006 1:47 pm Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi r4lukk4,
r4lukk4 wrote: |
by a workflow |
By a or by the workflow....What are you working on...WebSphere MQ or MQ Workflow...
Your requirement seems very simple, hence MQ should do...there is no need to use a workflow for simply putting a message, unless this is part of something bigger and more complex...
Regards. |
|
Back to top |
|
 |
vennela |
Posted: Mon Dec 04, 2006 1:55 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
I think he is talking about UPES messages.
Look at the samples that come with the product. Search for UPES in the workflow install directory and you will find some samples. |
|
Back to top |
|
 |
r4lukk4 |
Posted: Mon Dec 04, 2006 2:12 pm Post subject: |
|
|
Novice
Joined: 29 Nov 2006 Posts: 20
|
Hi elvis_gn,
I´m trying to work with WebSphere MQ, specifically wit websphere message brokers toolkit v6.0.
I need to get a message from one queue and after, recognize what kind of messege is it, and depend on it, send a XML message or other one in other queue.
I think that it must be very simple, but i´m not able to do it. _________________ R4lukk4 |
|
Back to top |
|
 |
elvis_gn |
Posted: Mon Dec 04, 2006 2:16 pm Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi r4lukk4,
Wrong forum...hopefully someone will move you.
r4lukk4 wrote: |
I´m trying to work with WebSphere MQ, specifically wit websphere message brokers toolkit v6.0.
I need to get a message from one queue and after, recognize what kind of messege is it, and depend on it, send a XML message or other one in other queue. |
What have you tried yet...?
What is the message you are trying to send...
Have you made a message flow ?
Have you received any training or have you read any of the manuals ?
I suggest you start with the Basics pdf, you'll find it on the ibm site.
Regards. |
|
Back to top |
|
 |
r4lukk4 |
Posted: Mon Dec 04, 2006 2:35 pm Post subject: |
|
|
Novice
Joined: 29 Nov 2006 Posts: 20
|
Hi elvis_gn,
I read several manuals, and i can´t find anything about the problem that i have.
I created a message flow which get a message from one queue, read the header and the body of the message, if the message contains a specific detail, send other message, in XML format, with the same header to other queue.
But, the message arrives empty to the final queue. _________________ R4lukk4 |
|
Back to top |
|
 |
spidy |
Posted: Mon Dec 04, 2006 5:29 pm Post subject: |
|
|
Acolyte
Joined: 04 Oct 2006 Posts: 50
|
Dont mind me saying this....you started with MQ, then asked about Workflow and now you are saying you are using Broker. As elvis_gn said, this is wrong forum for this question. |
|
Back to top |
|
 |
|