-
Sep 10th, 2008, 09:58 AM
#1
Message-based routing with translater
I have an incoming payload (a map) which will be routed (like the Cafe demo) to one of these two channels:
- someChannel
- clientChannel
In the normal case the payload is passed to someChannel. In case the payload is incomplete (e.g. missing certain keys in the map) then it should go to the clientChannel. In this case I do not want to pass the same payload but it will be translated into some client-readable payload.
Of course the client endpoint receiving the payload from this channel can take care of this but that would be the same logic like it is implemented in the Router (where certain keys are checked).
Is it somehow possible to implement that in one component: defining the channel and transforming the payload?
Thanks Tai
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules