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 » Java Plugin doesn't propagate Environment

Post new topic  Reply to topic
 Java Plugin doesn't propagate Environment « View previous topic :: View next topic » 
Author Message
mverh
PostPosted: Thu Sep 08, 2005 11:45 am    Post subject: Java Plugin doesn't propagate Environment Reply with quote

Voyager

Joined: 06 Mar 2002
Posts: 97

Hi, we are running WBI-MB V5 CSD06.

We have developed a custom java plugin that gets us broker info and inserts it into the Environment tree. See post

http://www.mqseries.net/phpBB2/viewtopic.php?t=22039

We have discovered that when an exception is thrown, for example we put disable the queue specified on the MQOutput node, that the Environment tree is not propagated down the Catch terminal of the MQInput node. If we rewire the flow and bypass the plugin node the Environment tree is propagated as expected.

One of two things is happening here. Either the plugin is lacking some code that ensures the Environment is preserved when an exception is thrown or there is a product defect.

Before I open a PMR I'd like to know if anyone else has encountered this and if so if they could kindly point out what is amiss.

Thanks in advance, Marc.
Back to top
View user's profile Send private message
mverh
PostPosted: Wed Sep 21, 2005 12:59 pm    Post subject: Reply with quote

Voyager

Joined: 06 Mar 2002
Posts: 97

Thought I'd post the resolution to this. Turns out that the GlobalEnvironment is the only message in the message assembly that is mutable. As a result there is no need to copy it to a new assembly if you want to change it.

If you do copy it then when an exception is thrown the changes made to it will be lost and not available to nodes upstream from the plugin. If you change the GlobalEnvironment directly then the changes will be available upstream when an exception is thrown.

Marc
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 » Java Plugin doesn't propagate Environment
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.