unInitReplyManager();
}
protected ReplyManager createReplyManager() throws Exception {
// use a temporary queue
ReplyManager replyManager = new TemporaryQueueReplyManager(getEndpoint().getCamelContext());
replyManager.setEndpoint(getEndpoint());
String name = "JmsReplyManagerTimeoutChecker[" + getEndpoint().getEndpointConfiguredDestinationName() + "]";
ScheduledExecutorService replyManagerExecutorService = getEndpoint().getCamelContext().getExecutorServiceManager().newSingleThreadScheduledExecutor(name, name);
replyManager.setScheduledExecutorService(replyManagerExecutorService);
ServiceHelper.startService(replyManager);
return replyManager;
}