Affects Version/s: 1.0-M1
Fix Version/s: 1.0
Environment:Linux, Java 5
Number of attachments :
I have a need to set the message selector attribute of a Consumer so that one queue can service multiple related service POJOs. The attached patch implements basic functionality for this by modifying JmsClientInterceptor and JmsServiceExporter. JmsClientInterceptor gains a 'jmsType' property which will be set on outgoing messages if not empty. JmsServiceExporter gains a 'messageSelector' property which (if not empty) is used when the Consumer instance is created.
A useful future enhancement would be to expose the other setJMS* and set*Property methods of Message. Maybe by providing a prototype Message instance to JmsClientInterceptor?
|Field||Original Value||New Value|
|Fix Version/s||1.0 [ 11951 ]|
|Resolution||Fixed [ 1 ]|
|Status||Open [ 1 ]||Resolved [ 5 ]|