/** * When a new message is added to the <code>MEPContext</code> the logic * should be included remove the MEPContext from the table in the * <code>EngineContext</code>. Example: IN_IN_OUT At the second IN * message the MEPContext should be removed from the AxisOperation. * * @param msgContext */ public void addMessageContext(MessageContext msgContext) throws AxisFault { if (axisOperation != null) { axisOperation.addMessageContext(msgContext, this); touch(); } }
/** * When a new message is added to the <code>MEPContext</code> the logic * should be included remove the MEPContext from the table in the * <code>EngineContext</code>. Example: IN_IN_OUT At the second IN * message the MEPContext should be removed from the AxisOperation. * * @param msgContext */ public void addMessageContext(MessageContext msgContext) throws AxisFault { if (axisOperation != null) { axisOperation.addMessageContext(msgContext, this); touch(); } }
/** * Remove the indicated message context. * Example Usage: The exchange is aborted and we need to * undo the work and free resources. * @param label * @throws AxisFault */ public void removeMessageContext(String label) throws AxisFault { MessageContext mc = getMessageContext(label); if (mc != null) { messageContexts.remove(label); setComplete(false); touch(); } }
/** * Remove the indicated message context. * Example Usage: The exchange is aborted and we need to * undo the work and free resources. * @param label * @throws AxisFault */ public void removeMessageContext(String label) throws AxisFault { MessageContext mc = getMessageContext(label); if (mc != null) { messageContexts.remove(label); setComplete(false); touch(); } }