How to getMQ JMS Properties in an TIBCO BusinessEvents Event?

How to getMQ JMS Properties in an TIBCO BusinessEvents Event?

book

Article ID: KB0091782

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:

Since MQ JMS properties are provider specific properties, it is not possible to read them directly in BusinessEvents. The workaround is to use a simple Java deserializer/serializer program. Attached (Filename: CustomMapMessageSerializer.java) is sample code which takes a JMS MapMessage object and copies its name-value pairs to BE event properties. 

Instructions:

- Compile the code into a JAR file.
- Place the JAR file on the BE classpath .
- Type in the name of your package/class in the deserialize/serialize field in a BE destination configuration.

Issue/Introduction

How to getMQ JMS Properties in an TIBCO BusinessEvents Event?

Attachments

How to getMQ JMS Properties in an TIBCO BusinessEvents Event? get_app