/* 143 */ return delegate;
/* */ }
/* */
/* */ public Object handleCreateConsumerDelegate(Invocation invocation) throws Throwable
/* */ {
/* 148 */ ClientConsumerDelegate consumerDelegate = (ClientConsumerDelegate)invocation.invokeNext();
/* 149 */ DelegateSupport delegate = consumerDelegate;
/* */
/* 151 */ SessionState sessionState = (SessionState)getState(invocation);
/* */
/* 153 */ MethodInvocation mi = (MethodInvocation)invocation;
/* 154 */ JBossDestination dest = (JBossDestination)mi.getArguments()[0];
/* 155 */ String selector = (String)mi.getArguments()[1];
/* 156 */ boolean noLocal = ((Boolean)mi.getArguments()[2]).booleanValue();
/* 157 */ String subscriptionName = (String)mi.getArguments()[3];
/* 158 */ boolean connectionConsumer = ((Boolean)mi.getArguments()[4]).booleanValue();
/* */
/* 160 */ String consumerID = consumerDelegate.getID();
/* 161 */ int bufferSize = consumerDelegate.getBufferSize();
/* 162 */ int maxDeliveries = consumerDelegate.getMaxDeliveries();
/* 163 */ long redeliveryDelay = consumerDelegate.getRedeliveryDelay();
/* */
/* 165 */ ConsumerState consumerState = new ConsumerState(sessionState, consumerDelegate, dest, selector, noLocal, subscriptionName, consumerID, connectionConsumer, bufferSize, maxDeliveries, redeliveryDelay);
/* */
/* 170 */ delegate.setState(consumerState);
/* 171 */ return consumerDelegate;