|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Can we change the ReplyProtocol in Message.Properties? |
« View previous topic :: View next topic » |
Author |
Message
|
MichaelGor |
Posted: Tue Jun 01, 2010 12:52 am Post subject: Can we change the ReplyProtocol in Message.Properties? |
|
|
Newbie
Joined: 31 May 2010 Posts: 6
|
I read a message from a FileInput node, after that, the Message.Properties.ReplyProtocol = ''. And I want to change it to 'MQ', so I write the following statement in a compute node, but it doesn't work, after compute node, the ReplyProtocol is still ''.
Set OutputRoot.Properties.ReplyProtocol = 'MQ';
I wonder whether the ReplyProtocol in Message.Properties can be changed? If can, how to code/configure it?
Thanks. |
|
Back to top |
|
 |
zpat |
Posted: Tue Jun 01, 2010 12:58 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Strictly speaking files hold records, not messages.
Does the compute node properties set the compute mode to LocalEnvironment and Message? |
|
Back to top |
|
 |
MichaelGor |
Posted: Tue Jun 01, 2010 1:11 am Post subject: |
|
|
Newbie
Joined: 31 May 2010 Posts: 6
|
Yes, I tried to set the compute mode to LocalEnvironment and Message, even set 'All', but it also can't change the ReplyProtocol field. Here is my flow:
FileInput node (treat the record as a Whole File) --> Compute Node --> Other node (like Trace node)
Anyone can change it before? |
|
Back to top |
|
 |
smdavies99 |
Posted: Tue Jun 01, 2010 9:30 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
I have to ask why you want to do this?
I have a flow that reads a file (Record by record) does a bit of munging in a Compute node and then sends everything to an MQOutputNode.
I don't touch the properties folder at all.
Naturally, I create an MQMD in the Compute Node as well as parsing the input message from a flat record format into some XML orientated data. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Jun 01, 2010 9:50 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
smdavies99 wrote: |
I have to ask why you want to do this? |
Because of this
it's not clear if MichaelGor really needs aggregation in the first place, as no information about the design criteria has been given. Possibly collection will work just as well. |
|
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
|
|
|
|