|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.openeai.OpenEaiObject
|
+--org.openeai.jms.consumer.commands.ConsumerCommand
|
+--org.openeai.jms.consumer.commands.SyncCommandImpl
|
+--org.openeai.implementations.gateways.transroutergateway.RoutingCriteriaCommandImpl
|
+--org.openeai.implementations.gateways.transroutergateway.StudentLegacyRoutingCriteria
Implements the specific 'Routing Criteria' for the Student Legacy Gateway. TransRoute will ask this class if it should route to the Student Legacy gateway based on the contents of the message.
Criteria is: For BasicPerson messages, type must contain 'Student Applicant' i.e. - the message must be coming from Banner.
| Field Summary |
| Fields inherited from class org.openeai.jms.consumer.commands.ConsumerCommand |
CREATE_ACTION, DELETE_ACTION, MESSAGE_ACTION, MESSAGE_CATEGORY, MESSAGE_OBJECT, MESSAGE_RELEASE, MESSAGE_TYPE, QUERY_ACTION, UPDATE_ACTION |
| Fields inherited from class org.openeai.OpenEaiObject |
logger |
| Constructor Summary | |
StudentLegacyRoutingCriteria()
Constructor |
|
| Method Summary | |
boolean |
shouldRoute(AppConfig aConfig,
org.jdom.Document inDoc)
Must be implemented by the specific 'Routing Criteria' classes that implement this interface. |
| Methods inherited from class org.openeai.jms.consumer.commands.SyncCommandImpl |
getSyncErrorPublisher, getSyncErrorSyncDoc, getSyncErrorSyncPrimedDocumentUri, publishSyncError, publishSyncError, setSyncErrorSyncDoc, setSyncErrorSyncPrimedDocumentUri |
| Methods inherited from class org.openeai.jms.consumer.commands.ConsumerCommand |
addAppConfig, buildError, convertToString, generateRelease, getAppConfig, getAppConfigs, getControlArea, getInboundXmlValidation, getMessageAction, getMessageBody, getMessageCategory, getMessageDumpDirectory, getMessageObject, getMessageRelease, getMessageType, getMsgComponents, getOutboundXmlValidation, initializeInput, setAppConfig, setInboundXmlValidation, setMessageDumpDirectory, setMsgComponents, setOutboundXmlValidation, setWriteToFile, writeMessageToFile, writeToFile |
| Methods inherited from class org.openeai.OpenEaiObject |
addLog4jProperty, getAppName, getDebug, getFromAddr, getLog4jProperties, getMailHost, getMailService, getProperties, getToAddr, initializeLog4j, initializeLog4j, initializeLog4j, setAppName, setDebug, setFromAddr, setMailHost, setMailService, setProperties, setToAddr |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StudentLegacyRoutingCriteria()
| Method Detail |
public boolean shouldRoute(AppConfig aConfig,
org.jdom.Document inDoc)
throws RoutingCriteriaCommandException
RoutingCriteriaCommandThis method can use all resources at it's disposal to determine if an end-point wants the message routed to it. This could be based simply on the content of the message passed in, or it could be more complicated like querying an authoritative source for additional information that isn't provided in the message by using resources supplied by the AppConfig object passed in.
shouldRoute in interface RoutingCriteriaCommandRoutingCriteriaCommandException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||