Hi,

the JMS MessageListenerAdapter just holds a single reference to a messageConverter that will be used for incoming and outgoing messages. Wouldn't it be useful to configure incoming and outgoing message conversion
independently? Consider a POJO service with following signature:
Code:
interface AService {
public BMessageType business(AMessageType a)
}
When implementing MessageConverters for each message type (AMessageType and BMessageType) you would have to subclass the current MessageListenerAdapter to get the desired behaviour. But before subclassing Spring I always scratch my head and wonder if I am not conflicting the design?


Regards,

Nils


P.S. Scratch at least three times!