I'm tinkering with service-jms and wonder how to get access to the Loggers.

If I have a JmsConsumerMarshaler then createExchange() is given a
ComponentContext so you can call ComponentContext.getLogger().

However JmsProviderMarshaler has no equivalent and neither
MessageExchange nor NormalizedMessage have a ComponentContext either.
Is this just a deficiency of the interface?

This will tend to infect the signatures of any helper classes if
access to loggers requires ComponentContext.

Suggestions?

Reply via email to