try {
ComponentResolver componentResolver = this.componentResolverInjector.getValue();
XAStompletComponent stomplet = (XAStompletComponent) componentResolver.resolve( runtime );
SimpleStompletContainer container = containerInjector.getValue();
container.addStomplet( this.destinationPattern, stomplet, this.config );
} catch (Exception e) {
this.poolInjector.getValue().returnRuntime( this.runtime );
this.runtime = null;
throw e;
}