public static String getSink(Message message) throws JMSException { if (!message.propertyExists(MessagePropertyNames.SINK)) { return null; } return message.getStringProperty(MessagePropertyNames.SINK); }
public static String getUserDefinedId(Message message) throws JMSException { if (!message.propertyExists(MessagePropertyNames.USER_DEFINED_DOC_ID)) { return USER_DEFINED_DOC_ID_DEF; } return message.getStringProperty(MessagePropertyNames.USER_DEFINED_DOC_ID); }
public static String getWorkFlowInstId(Message message) throws JMSException { if (!message.propertyExists(MessagePropertyNames.WORK_FLOW_INST_ID)) { return WORK_FLOW_INST_ID_DEF; } return message.getStringProperty(MessagePropertyNames.WORK_FLOW_INST_ID); }
public static String getComment(Message message) throws JMSException { if (!message.propertyExists(MessagePropertyNames.COMMENT)) { return COMMENT_DEF; } return message.getStringProperty(MessagePropertyNames.COMMENT); }
public static String getDocumentID(Message message) throws JMSException { if (!message.propertyExists(MessagePropertyNames.DOCUMENT_ID)) { return DOCUMENT_ID_DEF; } return message.getStringProperty(MessagePropertyNames.DOCUMENT_ID); }
public static String getPortName(Message message) throws JMSException { if (!message.propertyExists(MessagePropertyNames.PORT_NAME)) { return PORT_NAME_DEF; } return message.getStringProperty(MessagePropertyNames.PORT_NAME); }
public static String getCompInstName(Message message) throws JMSException { if (!message.propertyExists(MessagePropertyNames.COMP_INST_NAME)) { return COMP_INST_NAME_DEF; } return message.getStringProperty(MessagePropertyNames.COMP_INST_NAME); }
public static String getEventProcessName(Message message) throws JMSException { if (!message.propertyExists(MessagePropertyNames.EVENT_PROCESS_NAME)) { return EVENT_PROCESS_NAME_DEF; } return message.getStringProperty(MessagePropertyNames.EVENT_PROCESS_NAME); }
public static String getEventDescription(Message message) throws JMSException { if (!message.propertyExists(MessagePropertyNames.EVENT_DESCRIPTION)) { return EVENT_DESCRIPTION_DEF; } return message.getStringProperty(MessagePropertyNames.EVENT_DESCRIPTION); }
public static String getEventCategory(Message message) throws JMSException { if (!message.propertyExists(MessagePropertyNames.EVENT_CATEGORY)) { return EVENT_MODULE_DEF; } return message.getStringProperty(MessagePropertyNames.EVENT_CATEGORY); }
public static String getEventProcessVersion(Message message) throws JMSException { if (!message.propertyExists(MessagePropertyNames.EVENT_PROCESS_VERSION)) { return EVENT_PROCESS_VERSION_DEF; } return message.getStringProperty(MessagePropertyNames.EVENT_PROCESS_VERSION); }
public static String getEventStatus(Message message) throws JMSException { if (!message.propertyExists(MessagePropertyNames.EVENT_STATUS)) { return EVENT_STATUS_DEF; } return message.getStringProperty(MessagePropertyNames.EVENT_STATUS); }
public static String getSourceFPSName(Message message) throws JMSException { if (!message.propertyExists(MessagePropertyNames.SOURCE)) { return SOURCE_FPS_NAME_DEF; } return message.getStringProperty(MessagePropertyNames.SOURCE); }
public static String getTextData(Message message) throws JMSException { if (message instanceof TextMessage) { return ((TextMessage) message).getText(); } if (!message.propertyExists(MessagePropertyNames.TEXT_DATA)) { return TEXT_DATA_DEF; } return message.getStringProperty(MessagePropertyNames.TEXT_DATA); }
public static CarryForwardContext getCarryForwardContext(Message message) throws JMSException { if (!message.propertyExists(MessagePropertyNames.CARRY_FORWARD_CONTEXT)) { return CarryForwardContext.getDefault(); } String carryForwardContextJson = message.getStringProperty(MessagePropertyNames.CARRY_FORWARD_CONTEXT); if (!StringUtil.isEmpty(carryForwardContextJson)) { Genson genson = new Genson(); CarryForwardContext carryForwardContext = genson.deserialize(carryForwardContextJson, CarryForwardContext.class); return carryForwardContext; } return CarryForwardContext.getDefault(); }
public static String getStateID(Message message) throws JMSException { return message.getStringProperty(MessagePropertyNames.STATE_ID); }
public static String getEventScope(Message message) throws JMSException { return message.getStringProperty(MessagePropertyNames.EVENT_SCOPE); }
public static String getWorkFlowStatus(Message message) throws JMSException { return message.getStringProperty(MessagePropertyNames.WORKFLOW_STATUS); }
public static String getExecutingIncr(Message message) throws JMSException { return message.getStringProperty(MessagePropertyNames.EXECUTING_INCR); }
public static String getEventProcessEnv(Message message) throws JMSException { if (!message.propertyExists(MessagePropertyNames.EVENT_PROCESS_ENVIRONMENT)) return EVENT_PROCESS_EVN_DEF; return message.getStringProperty(MessagePropertyNames.EVENT_PROCESS_ENVIRONMENT); }