Class CommonMessageRouter
java.lang.Object
org.openwms.common.comm.osip.router.CommonMessageRouter
A CommonMessageRouter collects all 
CustomServiceActivators from the
 ApplicationContext and tries to find the suitable CustomServiceActivator when
 an incoming message arrives. If no suitable processor is found, the message will be
 routed to the default exception channel.- Author:
 - Heiko Scherrer
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<org.openwms.common.comm.CustomServiceActivator>  - 
Constructor Summary
ConstructorsConstructorDescriptionCommonMessageRouter(List<org.openwms.common.comm.CustomServiceActivator> processors)  - 
Method Summary
Modifier and TypeMethodDescription(package private) voidorg.springframework.messaging.MessageChannelRouting method, tries to map an incomingPayloadto a MessageChannel. 
- 
Field Details
- 
processors
 - 
processorMap
 
 - 
 - 
Constructor Details
- 
CommonMessageRouter
public CommonMessageRouter(@Autowired(required=false) List<org.openwms.common.comm.CustomServiceActivator> processors)  
 - 
 - 
Method Details
- 
onPostConstruct
@PostConstruct void onPostConstruct() - 
resolve
@Router(inputChannel="transformerOutputChannel", defaultOutputChannel="commonExceptionChannel", resolutionRequired="false") public org.springframework.messaging.MessageChannel resolve(org.springframework.messaging.Message<Payload> message) Routing method, tries to map an incomingPayloadto a MessageChannel.- Parameters:
 message- The message to process- Returns:
 - The MessageChannel where to put the message
 
 
 -