getProxy().getOfferedIdentifier());
return;
} else if (RMUtils.getRMConstants().getCreateSequenceAction().equals(action)) {
Object[] parameters = (Object[])context.get(ObjectMessageContext.METHOD_PARAMETERS);
CreateSequenceType cs = (CreateSequenceType)parameters[0];
final CreateSequenceResponseType csr =
getServant().createSequence(getDestination(), cs, maps);
Runnable response = new Runnable() {
public void run() {
try {
getProxy().createSequenceResponse(maps, csr);
} catch (IOException ex) {
ex.printStackTrace();
} catch (SequenceFault sf) {
sf.printStackTrace();
}
}
};
getBinding().getBus().getWorkQueueManager().getAutomaticWorkQueue().execute(response);
return;
} else if (RMUtils.getRMConstants().getTerminateSequenceAction().equals(action)) {
Object[] parameters = (Object[])context.get(ObjectMessageContext.METHOD_PARAMETERS);
TerminateSequenceType cs = (TerminateSequenceType)parameters[0];
getServant().terminateSequence(getDestination(), cs.getIdentifier());
}
// for application AND out of band messages
if (null != rmps) {