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 » WebSphere Message Broker (ACE) Support » Can we change the ReplyProtocol in Message.Properties?

Post new topic  Reply to topic
 Can we change the ReplyProtocol in Message.Properties? « View previous topic :: View next topic » 
Author Message
MichaelGor
PostPosted: Tue Jun 01, 2010 12:52 am    Post subject: Can we change the ReplyProtocol in Message.Properties? Reply with quote

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
View user's profile Send private message
zpat
PostPosted: Tue Jun 01, 2010 12:58 am    Post subject: Reply with quote

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
View user's profile Send private message
MichaelGor
PostPosted: Tue Jun 01, 2010 1:11 am    Post subject: Reply with quote

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
View user's profile Send private message
smdavies99
PostPosted: Tue Jun 01, 2010 9:30 am    Post subject: Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Tue Jun 01, 2010 9:50 am    Post subject: Reply with quote

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
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 » WebSphere Message Broker (ACE) Support » Can we change the ReplyProtocol in Message.Properties?
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.