|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
XPath for MQHeader node |
« View previous topic :: View next topic » |
Author |
Message
|
petervh1 |
Posted: Wed Sep 18, 2013 5:30 am Post subject: XPath for MQHeader node |
|
|
Centurion
Joined: 19 Apr 2010 Posts: 135
|
Environment is WMB 8.0.0.2, Toolkit 8.0.0.2
I am trying to change the CorrelId in the MQMD of a message using an XPath expression an MQHeader node.
I have tried:
$Root/MQMD/CorrelId = $LocalEnvironment/WrittenDestination/MQ/DestinationData/msgId
and
$LocalEnvironment/WrittenDestination/MQ/DestinationData/msgId.
Both give me this result:
Code: |
<Text>BIP2230E: Error detected whilst processing a message in node 'gen.CITService.MQ Header'.
The message broker detected an error whilst processing a message in node 'gen.CITService.MQ Header'. An exception has been thrown to cut short the processing of the message.
See the following messages for details of the error. : F:\build\slot1\S800_P\src\DataFlowEngine\PluginInterface\ImbJniNode.cpp: 1267: ImbJniNode::evaluate: ComIbmMQHeaderNode: gen/CITService#FCMComposite_1_13.gen/GetBankInfo_Request_Response#FCMComposite_1_10
BIP4367E: The method ''evaluate'' in Java node ''MQ Header'' has thrown the following exception: 'java.lang.NullPointerException'.
The method ''evaluate'' of the Java node has thrown an exception. Examine previous error messages for details of the cause of the problem.
This error is generated by the Java node API. It can occur in a Java Compute node or a Java user-defined node. If the node is a user-defined node, contact the node provider for further details. : F:\build\slot1\S800_P\src\DataFlowEngine\PluginInterface\com_ibm_broker_plugin_CMbService.cpp: 1871: ImbJavaExceptionUtils::throwableToNativeException: :
BIP4395E: Java exception: ''java.lang.NullPointerException''; thrown from class name: ''com.ibm.broker.transportheadernodes.mq.MQHeaderNode'', method name: ''convertToDataType'', file: ''MQHeaderNode.java'', line: '2904'
The message contains that data associated with a Java exception.
No user action required. : F:\build\slot1\S800_P\src\DataFlowEngine\PluginInterface\com_ibm_broker_plugin_CMbService.cpp: 1889: ImbJavaExceptionUtils::throwableToNativeException: :</Text>
|
Can anyone assist?
TIA |
|
Back to top |
|
 |
rekarm01 |
Posted: Wed Sep 18, 2013 8:39 am Post subject: Re: XPath for MQHeader node |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 1415
|
petervh1 wrote: |
$LocalEnvironment/WrittenDestination/MQ/DestinationData/msgId ... |
Put a Trace node before the MQHeader node, to examine the structure of LocalEnvironment. Typically, the MQOutput node populates WrittenDestination, so it's likely to be empty before that. The InfoCenter has more details. |
|
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
|
|
|
|