JmsConfiguration config = getConfiguration();
String replyToSelectorName = getConfiguration().getReplyToDestinationSelectorName();
AbstractMessageListenerContainer container =
config.isUseVersion102()
? (replyToSelectorName != null) ? new DefaultMessageListenerContainer102()
: new CamelDefaultMessageListenerContainer102()
: (replyToSelectorName != null) ? new DefaultMessageListenerContainer()
: new CamelDefaultMessageListenerContainer();
container.setConnectionFactory(config.getListenerConnectionFactory());