How to send a JMS message by plain JMS client program that can be retrieved properly by TIBCO Adapter(TM) SDK
book
Article ID: KB0085658
calendar_today
Updated On:
Products
Versions
TIBCO Adapter SDK
-
Not Applicable
-
Description
Resolution: Description: ============ This article describes how to build up a JMS format message by plain Java program, which can be received and retrieved properly by SDK Adapter.
Environment: =========== All TIBCO Adapter SDK versions Both Java and C++ SDK
Resolution: ========== In order to build up a JMS format message by plain Java program, which can be received and retrieved properly by SDK Adapter, we need to follow these steps in the JMS client program: - 1. Make sure the JMS message is compatible with AE format, by setting all the AE-format properties as follows: >>ae_tracking - any string value. This is a string used to identify messages. It's recommended to use unique string for each message. >>ae_pfmt - 10 >>ae_type - 2 >>ae_encoding - 1 if wire format is Latin-1 and 2 if wire format is UTF-8 >>ae_ver - 1
2. Make sure the JMS message is built with XML format, based on the AE Schema defined by SDK Adapter at design-time.
Attachments: =========== A sample is attached with this article - JMS Samples.zip, which includes the following folders: - JMSProducer: Plain JMS client program JMS-SDK Adapter Subscriber: SDK Adapter Subscriber used for handling received JMS message (Based on Java SDK) sdklisten: SDK Adapter Subscriber used for handling received JMS message (Based on C++ SDK) SDKAdapterSubscriber: the repository file for SDK Adapter
Issue/Introduction
How to send a JMS message by plain JMS client program that can be retrieved properly by TIBCO Adapter(TM) SDK
Attachments
How to send a JMS message by plain JMS client program that can be retrieved properly by TIBCO Adapter(TM) SDK
get_app