Enhance the runtime performance when exposing one or more services via JMS, by routing the message without parsing it.
You can route a message by either selecting a JMSAction property entry or a user-defined header property entry. You can only expose one service via this method.
Keep the following in mind when using header-based routing:
msg.setStringProperty("locale","en_US"); msg.setStringProperty("encoding","windows-1252"); msg.setStringProperty("formatName","SimpleMessage"); msg.setStringProperty("contentFormat", "sybfmt");
msg.setStringProperty("ROUTING_HEADER_NAME", "operation"); msg.setStringProperty("operation", "outq/send");
Send your feedback on this help topic to Sybase Technical Publications: pubs@sybase.com
Your comments will be sent to the technical publications staff at Sybase, Inc. For product-related issues or technical support, contact Sybase Technical Support at 1-800-8SYBASE.