@Override
public boolean handleOutbound(MessageContext msgContext)
{
log.info("handleResponse");
MAPBuilder builder = MAPBuilderFactory.getInstance().getBuilderInstance();
MAP inProps = builder.inboundMap(msgContext);
MAP outProps = builder.newMap();
if (inProps.getReplyTo() != null)
outProps.initializeAsDestination(inProps.getReplyTo());
outProps.setAction("http://org.jboss.ws/addressing/stateful/actionReply");
outProps.installOutboundMapOnServerSide(msgContext, outProps);
msgContext.setScope(builder.newConstants().getServerAddressingPropertiesOutbound(), Scope.APPLICATION);
return true;
}