public JcaConsumerProcessor(JmsEndpoint endpoint) {
super(endpoint);
}
public void start() throws Exception {
AsyncBaseLifeCycle lf = (AsyncBaseLifeCycle) endpoint.getServiceUnit().getComponent().getLifeCycle();
channel = lf.getContext().getDeliveryChannel();
transactionManager = (TransactionManager) lf.getContext().getTransactionManager();
endpointFactory = new SingletonEndpointFactory(this, transactionManager);
bootstrapContext = endpoint.getBootstrapContext();
if (bootstrapContext == null) {
throw new IllegalArgumentException("bootstrapContext not set");
}