Yes, the header-mapper thing does not work as commented in the JIRA.
I thought of subclassing the JmsTemplate and overriding it the doSend as
But this again is not flexible as it will pass on the JMSPriority.Code:protected void doSend(MessageProducer producer, Message message) throws JMSException { producer.send(message, getDeliveryMode(), message.getJMSPriority(), getTimeToLive()); }
Mark,
I am thinking of your another workaround that you suggested that have two High and Low Jms Adaptor. But how do I corodinate the adaptor listeners so that Low JMS adaptor listener does not start picking messages when there are messages in High-Priority one.
Thanks


Reply With Quote
