java - Spring integration router configuration -
java - Spring integration router configuration -
i struggling find examples using @router annotation. if understanding javadocs correctly:
@service public class agentserviceimpl implements agentservice { @override @router(inputchannel = "agentlogin", defaultoutputchannel = "agentserviceresponse") public agentloginresponse login(agentloginrequest request) { } } in xml examples router there service-activator, getting hung on trying figure out how fit in.
actually wrong way. see @router javadocs:
* indicates method capable of resolving channel or channel name * based on message, message header(s), or both. so, login method target router component must homecoming channel name or entire messagechannel object.
java spring spring-integration
Comments
Post a Comment