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 node problem in WMQ V2.1

Post new topic  Reply to topic
 java plugin node problem in WMQ V2.1 « View previous topic :: View next topic » 
Author Message
Neinie
PostPosted: Thu Sep 01, 2005 11:54 pm    Post subject: java plugin node problem in WMQ V2.1 Reply with quote

Newbie

Joined: 06 Aug 2003
Posts: 7

In a java plugin node I am trying to overwrite an element value and upon propagate receving an MbBrokerException. I am using WMQI V2.1 fixpack 02, yes we should upgrade but we are holding off until V6 release.
TIA for all your help.


MbMessage newMsg = new MbMessage (assembly.getMessage());
MbMessageAssembly newAssembly = new MbMessageAssembly(assembly, newMsg);

MbElement rootElement = newAssembly.getMessage().getRootElement();
MbElement bodyElement = rootElement.getLastChild();

String elementValue = ("MyNumber");
MbElement numField = bodyElement.getFirstElementByPath("./numberField");
numField.setValue(elementValue);

MbOutputTerminal out = getOutputTerminal("out");
out.propagate(newAssembly);

Exception:
<com.ibm.broker.plugin.MbBrokerException source:WMQIv210 key:2230 message:[WMQIv210:2230]BIP2230E: Error detected whilst processing a message in node '{0}'.
The message broker detected an error whilst processing a message in node '{0}'. An exception has been thrown to cut short the processing of the message.
See the following messages for details of the error. : Caught exception and rethrowing >
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Sep 02, 2005 3:50 am    Post subject: Re: java plugin node problem in WMQ V2.1 Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Neinie wrote:
See the following messages for details of the error.

Does it list anything?
_________________
I am *not* the model of the modern major general.
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 node problem in WMQ V2.1
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.