How to preserve case-sensitivity of a JMS message property

How to preserve case-sensitivity of a JMS message property

book

Article ID: KB0077344

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition 5.5.0

Description

Using routeTo function to route messages to JMS Destination with custom properties changes the properties to lowercase.

For example :- Event.routeTo(mymsg,"/Channels/Unico","TestLowerCaseProperty=10") will result in testlowercaseproperty=10 on JMS server side.

Issue/Introduction

How to preserve case-sensitivity of a JMS message property

Environment

All

Resolution

Add the property to the Event properties list instead of setting it as custom property in Event.routeTo() and then use Event.sendEvent() to send the event. This way the case is preserved when property is sent to JMS server.

Attached is a small sample, illustrating the usage.

Attachments

How to preserve case-sensitivity of a JMS message property get_app