Forum Discussion

Car1's avatar
Car1
New Contributor
7 years ago

custom JMS property is sent as string insteadfd as an integer

Hello there,

 

I add this new custom property as "ProtocolVersion" value = 2

The listener is using that property as message selector and it is working fine.

Here an example of the request sent by soapui:

 

BytesMessage={ Header={ JMSMessageID={ID:DEV-TMO-EMS.38A859104F8267A6:10} JMSDestination={Queue[SOABP.ODB.SERVICE.METRICS.AnyMEP]} JMSReplyTo={null} JMSDeliveryMode={PERSISTENT} JMSRedelivered={false} JMSCorrelationID={null} JMSType={null} JMSTimestamp={Mon Feb 05 12:42:08 CET 2018} JMSDeliveryTime={Mon Feb 05 12:42:08 CET 2018} JMSExpiration={0} JMSPriority={4} } Properties={ SourceHostName={String:tmv1461} ProtocolVersion={String:2} } Bytes={5603 bytes} }

 

How can I define a custom JMS property as an Integer?

 

Kind Regards,

Car1

No RepliesBe the first to reply