ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Send a message

Post new topic  Reply to topic
 Send a message « View previous topic :: View next topic » 
Author Message
r4lukk4
PostPosted: Mon Dec 04, 2006 12:51 pm    Post subject: Send a message Reply with quote

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
View user's profile Send private message
elvis_gn
PostPosted: Mon Dec 04, 2006 1:15 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
r4lukk4
PostPosted: Mon Dec 04, 2006 1:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
elvis_gn
PostPosted: Mon Dec 04, 2006 1:47 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
vennela
PostPosted: Mon Dec 04, 2006 1:55 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
r4lukk4
PostPosted: Mon Dec 04, 2006 2:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
elvis_gn
PostPosted: Mon Dec 04, 2006 2:16 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
r4lukk4
PostPosted: Mon Dec 04, 2006 2:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
spidy
PostPosted: Mon Dec 04, 2006 5:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Send a message
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.