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 » JMS Output Node in IIB10

Post new topic  Reply to topic
 JMS Output Node in IIB10 « View previous topic :: View next topic » 
Author Message
Dev80
PostPosted: Tue Apr 05, 2016 2:26 am    Post subject: JMS Output Node in IIB10 Reply with quote

Novice

Joined: 28 Nov 2013
Posts: 10

Hi,
I have a flow that receives messages from JMS implementation of WMQ and after getting the message it modifies JMS headers and sets priority on the JMS message based on the source JMS Input. Target system happens to be JBoss JMS implementation. On the JMS outputNode when I set hard coded priority to anything apart from "Inherit from header" the flow seems to work perfectly. however when I set the priority on the JMS Output Node to be " Inherit from Header" the flow is giving me exception as if I have not set any priority on the message. This is not correct as during debug I can see that JMS headers are set correctly. Please let me know if there is something I am missing here.
--------------------
ExceptionList
RecoverableException
File:CHARACTER:F:\build\slot1\S000_P\src\DataFlowEngine\MessageServices\ImbDataFlowNode.cpp
Line:INTEGER:1222
Function:CHARACTER:ImbDataFlowNode::createExceptionList
Type:CHARACTER:ComIbmTryCatchNode
Name:CHARACTER:com/tunisiatelecom/npm/flows/MFL_BSCSTONPG#FCMComposite_1_5
Label:CHARACTER:com.tunisiatelecom.npm.flows.MFL_BSCSTONPG.TryMessageToNPG.OUT
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:2230
Text:CHARACTER:Node throwing exception
Insert
Type:INTEGER:14
Text:CHARACTER:com.tunisiatelecom.npm.flows.MFL_BSCSTONPG.TryMessageToNPG.OUT
RecoverableException
File:CHARACTER:F:\build\slot1\S000_P\src\DataFlowEngine\PluginInterface\ImbJniNode.cpp
Line:INTEGER:1273
Function:CHARACTER:ImbJniNode::evaluate
Type:CHARACTER:ComIbmJMSClientOutputNode
Name:CHARACTER:com/tunisiatelecom/npm/flows/MFL_BSCSTONPG#FCMComposite_1_25
Label:CHARACTER:com.tunisiatelecom.npm.flows.MFL_BSCSTONPG.NPG.IN
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:2230
Text:CHARACTER:Caught exception and rethrowing
Insert
Type:INTEGER:14
Text:CHARACTER:com.tunisiatelecom.npm.flows.MFL_BSCSTONPG.NPG.IN
RecoverableException
File:CHARACTER:Undefined
Line:INTEGER:-1
Function:CHARACTER:JMSClientOutputNode::createOutputMessage()
Type:CHARACTER:
Name:CHARACTER:
Label:CHARACTER:
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:1
Number:INTEGER:4646
Text:CHARACTER:Invalid message format for JMS Message
Insert
Type:INTEGER:5
Text:CHARACTER:Broker 'IIBNODE10'; Execution Group 'amv-test'; Message Flow 'com.tunisiatelecom.npm.flows.MFL_BSCSTONPG'; Node 'ComIbmJMSClientOutputNode'
Insert
Type:INTEGER:5
Text:CHARACTER: -1 is not valid: priority must be between 0 and 9, Invalid message format for JMS Message
-----
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Apr 05, 2016 4:11 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

It seems as if the properties on the input message are not what they should be.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
Dev80
PostPosted: Tue Apr 05, 2016 5:22 am    Post subject: JMS Output Node in IIB10 Reply with quote

Novice

Joined: 28 Nov 2013
Posts: 10

mqjeff wrote:
It seems as if the properties on the input message are not what they should be.


Hi,
Please find the trace of root as below for the message.

**************************** 18 : Root Trace ***************************************** ( ['GENERICROOT' : 0x1c64e920]
(0x01000000:Name ):Properties = ( ['MQPROPERTYPARSER' : 0x1cc73d10]
(0x03000000:NameValue):MessageSet = '{MNPShared}' (CHARACTER)
(0x03000000:NameValue):MessageType = '' (CHARACTER)
(0x03000000:NameValue):MessageFormat = '' (CHARACTER)
(0x03000000:NameValue):Encoding = 0 (INTEGER)
(0x03000000:NameValue):CodedCharSetId = 1208 (INTEGER)
(0x03000000:NameValue):Transactional = FALSE (BOOLEAN)
(0x03000000:NameValue):Persistence = FALSE (BOOLEAN)
(0x03000000:NameValue):CreationTime = NULL
(0x03000000:NameValue):ExpirationTime = NULL
(0x03000000:NameValue):Priority = 0 (INTEGER)
(0x03000000:NameValue):ReplyIdentifier = NULL
(0x03000000:NameValue):ReplyProtocol = 'JMS' (CHARACTER)
(0x03000000:NameValue):Topic = NULL
(0x03000000:NameValue):ContentType = '' (CHARACTER)
(0x03000000:NameValue):IdentitySourceType = NULL
(0x03000000:NameValue):IdentitySourceToken = NULL
(0x03000000:NameValue):IdentitySourcePassword = NULL
(0x03000000:NameValue):IdentitySourceIssuedBy = NULL
(0x03000000:NameValue):IdentityMappedType = NULL
(0x03000000:NameValue):IdentityMappedToken = NULL
(0x03000000:NameValue):IdentityMappedPassword = NULL
(0x03000000:NameValue):IdentityMappedIssuedBy = NULL
)
(0x01000010:ParserRoot):JMSTransport = ( ['jms_transport' : 0x17eca740]
(0x01000000:Element):Transport_Folders = (
(0x01000000:Element):Message_MetaData = (
(0x01000000:Element):PayloadType = (
(0x02000000:pcdata): = 'jms_text' (CHARACTER)
)
(0x01000000:Element):MessagePersistence = (
(0x02000000:pcdata): = 'Non_Persistent' (CHARACTER)
)
)
(0x01000000:Element):Header_Values = (
(0x01000000:Element):JMSDestination = (
(0x02000000:pcdata): = 'queue://IIBQM/MNP.BSCS.NPG.001.NOM.IN' (CHARACTER)
)
(0x01000000:Element):JMSDeliveryMode = (
(0x03000000:Attribute):dt = 'i4' (CHARACTER)
(0x02000000:pcdata ): = 1 (INTEGER)
)
(0x01000000:Element):JMSExpiration = (
(0x03000000:Attribute):dt = 'i8' (CHARACTER)
(0x02000000:pcdata ): = 0 (INTEGER)
)
(0x01000000:Element):JMSPriority = (
(0x03000000:Attribute):dt = 'i4' (CHARACTER)
(0x02000000:pcdata ): = 5 (INTEGER)

)
(0x01000000:Element):JMSTimestamp = (
(0x03000000:Attribute):dt = 'i8' (CHARACTER)
(0x02000000:pcdata ): = 1459862292646 (INTEGER)
)
(0x01000000:Element):JMSMessageID = (
(0x02000000:pcdata): = 'ID:414d5120494942514d20202020202020b6d6e756208c2407' (CHARACTER)
)
(0x01000000:Element):JMSCorrelationID = (
(0x02000000:pcdata): = ' ' (CHARACTER)
)
(0x01000000:Element):JMSReplyTo = (
(0x02000000:pcdata): = ' ' (CHARACTER)
)
(0x01000000:Element):JMSType = (
(0x02000000:pcdata): = 'mcd://XMLNSC/{MNPShared}' (CHARACTER)
)
(0x01000000:Element):JMSRedelivered = (
(0x03000000:Attribute):dt = 'boolean' (CHARACTER)
(0x02000000:pcdata ): = '0' (CHARACTER)
)
)
(0x01000000:Element):Application_Properties =
(0x01000000:Element):JMS_Provider_Properties = (
(0x01000000:Element):JMS_IBM_Format = (
(0x02000000:pcdata): = 'MQSTR ' (CHARACTER)
)
(0x01000000:Element):JMS_IBM_Character_Set = (
(0x02000000:pcdata): = 'UTF-8' (CHARACTER)
)
(0x01000000:Element):JMS_IBM_Encoding = (
(0x03000000:Attribute):dt = 'i4' (CHARACTER)
(0x02000000:pcdata ): = 273 (INTEGER)
)
(0x01000000:Element):JMS_IBM_MsgType = (
(0x03000000:Attribute):dt = 'i4' (CHARACTER)
(0x02000000:pcdata ): = 8 (INTEGER)
)
(0x01000000:Element):JMS_IBM_PutApplType = (
(0x03000000:Attribute):dt = 'i4' (CHARACTER)
(0x02000000:pcdata ): = 11 (INTEGER)
)
(0x01000000:Element):JMS_IBM_PutDate = (
(0x02000000:pcdata): = '20160405' (CHARACTER)
)
(0x01000000:Element):JMS_IBM_PutTime = (
(0x02000000:pcdata): = '13181264' (CHARACTER)
)
)
(0x01000000:Element):Standard_Properties = (
(0x01000000:Element):JMSXGroupID = (
(0x02000000:pcdata): = '000000000000000000000000000000000000000000000000' (CHARACTER)
)
(0x01000000:Element):JMSXDeliveryCount = (
(0x03000000:Attribute):dt = 'i4' (CHARACTER)
(0x02000000:pcdata ): = 1 (INTEGER)
)
(0x01000000:Element):JMSXUserID = (
(0x02000000:pcdata): = 'SYSTEM ' (CHARACTER)
)
(0x01000000:Element):JMSXGroupSeq = (
(0x03000000:Attribute):dt = 'i4' (CHARACTER)
(0x02000000:pcdata ): = 1 (INTEGER)
)
(0x01000000:Element):JMSXAppID = (
(0x02000000:pcdata): = 'erver\bin\DataFlowEngine.exe' (CHARACTER)
)
)
)
)
(0x01000000:Folder ):XMLNSC = ( ['xmlnsc' : 0x2a2eb520]
(0x01000000:Folder)http://jaxbTunisia.oss.npg.telcordia.com/:NPGData = (
(0x03000102:NamespaceDecl)http://www.w3.org/2000/xmlns/:p = 'http://jaxbTunisia.oss.npg.telcordia.com/' (CHARACTER)
(0x03000102:NamespaceDecl)http://www.w3.org/2000/xmlns/:xsi = 'http://www.w3.org/2001/XMLSchema-instance' (CHARACTER)
(0x03000100:Attribute )http://www.w3.org/2001/XMLSchema-instance:schemaLocation = 'http://jaxbTunisia.oss.npg.telcordia.com/ ../NPM.LIB/NPG.xsd ' (CHARACTER)
(0x01000000:Folder )http://jaxbTunisia.oss.npg.telcordia.com/:MessageHeader = (
(0x03000000:PCDataField)http://jaxbTunisia.oss.npg.telcordia.com/:NPId = 'A100144444444444' (CHARACTER)
(0x03000000:PCDataField)http://jaxbTunisia.oss.npg.telcordia.com/:NPRequestID = 'p:NPRequestID' (CHARACTER)
(0x03000000:PCDataField)http://jaxbTunisia.oss.npg.telcordia.com/:ProcessType = 'ShortTimePort' (CHARACTER)
(0x03000000:PCDataField)http://jaxbTunisia.oss.npg.telcordia.com/:MessageID = 'A100' (CHARACTER)
(0x03000000:PCDataField)http://jaxbTunisia.oss.npg.telcordia.com/:Sender = 'MAO' (CHARACTER)
)
(0x01000000:Folder )http://jaxbTunisia.oss.npg.telcordia.com/:NPGMessage = (
(0x01000000:Folder)http://jaxbTunisia.oss.npg.telcordia.com/:CheckPortingAvailabilityRequest = (
(0x03000000:PCDataField)http://jaxbTunisia.oss.npg.telcordia.com/:NPDueDate = '2016-09-09T10:10' (CHARACTER)
(0x01000000:Folder )http://jaxbTunisia.oss.npg.telcordia.com/:NrList = (
(0x01000000:Folder)http://jaxbTunisia.oss.npg.telcordia.com/:Nr = (
(0x03000000:PCDataField)http://jaxbTunisia.oss.npg.telcordia.com/:Number = '21671234567' (CHARACTER)
(0x03000000:PCDataField)http://jaxbTunisia.oss.npg.telcordia.com/:RIO = '123456789111' (CHARACTER)
)
)
)
)
)
)
)
**************************** 18 : Root Trace ***************************************** ( ['GENERICROOT' : 0x180824b0]

I can see in the properties that priority is set to 5
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 » JMS Output Node in IIB10
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.