1

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

Rise_against
  • 1,042
  • 3
  • 15
  • 36

1 Answers1

4

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.

Bryan Corazza
  • 829
  • 1
  • 7
  • 16
  • 1
    Ok, I understand that the message can only be split in the disassemble stage :( I solved my problem by inserting an orchestration that splits the message when I want to.. Thx – Rise_against Jan 21 '11 at 16:36