int last = interceptors.size() - 1;
interceptors.set(last, new InvokerInterceptor());
container.setInterceptors(interceptors);
// Invoke over the rpc transport
bean.doSomething();
// Invoker over the jms transport
String reply = bean.doSomethingSlowly("arg1", "arg2");
assertTrue("Reply is decorated with viaJMSGatewayMDB",
reply.indexOf("viaJMSGatewayMDB") > 0 );
// Remove the bean to close the jms resources