You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Benson Margulies <bi...@gmail.com> on 2012/01/11 17:33:02 UTC

JMS configuration redundancy, and what's a sessionPool?

When I configure a JMS endpoint, the code first creates and
initializes an entire JMSConfig object in
org.apache.cxf.transport.jms.JMSOldConfigHolder.configureEndpoint(boolean,
JMSEndpoint), filling options from a number of locations, including
setting concurrency options based on the sessionPool.

All this work is discarded if there is a JMSConfigFeature, since the
feature is not processed until later on.

Shouldn't org.apache.cxf.transport.jms.JMSTransportFactory.getDestination(EndpointInfo)
somehow manage to check for the feature before calling the 'old'
stuff?