Question

Is it possible to create a custom pipelinecomponent that splits a message in 2 messages, but in the send port? I have seen that it is possible in the receive port using the disassembler interface, but can we use this in a send pipeline component? Can someone give me an example to how to accomplish this?

Thx

Was it helpful?

Solution

Typically send ports are made for assembly and not dis-assembly, hence why the interface for a send port component has an assemble aspect to it. Is sounds like this would be a good opportunity to split the message via filters and use multiple send ports to send out the 2 messages. I've seen a few folks do this with writing the msgs to the file system, etc. but that screams bad practice. Think of splitting the messages before the pipeline components are needed.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top