Barrie, just instantiate your own logger instance....
private static final transient Log LOG = LogFactory.getLog(YourClass.class); That will do it for logging. Lars 2009/9/25 Barrie Treloar <[email protected]>: > 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? > -- http://lhein.blogspot.com
