Service integration

Bayeux channel to service integration bus channel mapping

The Bayeux channel format is different from the service integration bus topic format. A Bayeux channel is always preceded by a "/" while the service integration bus topic is never preceded by a slash. When publishing from a Bayeux client or through the provided publishing API, the topic conversion between Bayeux channel format and service integration format is handled by the Web messaging function. The same is true for outgoing messages. When publishing through other JMS mechanisms and an expected target is a Web messaging client, you must be aware of the slight differences in topic format. Examples are listed below:
     

Bayeux Channel Service integration bus topic
/stocks/IBM stocks/IBM
/test/topic test/topic


JMS object types support

A limited number of JMS message types are supported when publishing to Web messaging clients. These message types currently include JMS text and object messages. The contents of a JMS text message must be a JSON serializable value: either a JSON Object, JSON Array, or a String value. The contents of the text message are placed into the Bayeux event delivery message data field. A JMS Object message is also supported, but limited objects can be passed. These objects are limited to: JavaTM Number, Java String, and Java Boolean objects.