Yes, what you what you want is certainly doable. I don't have an HL7 project in front of my right now so my memory may not be exact but something like:
- Uncheck "Reoute ACK to send pipeline..."
- You will need a custom pipeline component to Promote BTS.InterchangeID on the disassembler output.
- In your Orchestration, implement a Convoy correlated on BTS.InterchageID.
- The Orchestration will then pick up the HL7 Message and the auto generated ACK.
- Do you normal processing.
- Decide which ACK to return, yours or the generated.
- Return ACK to the TwoWay port.
*Non custom pipeline solution: *
In BTAHL7 Configuration Explorer Acknowledgement tab:
- Set Acknowledgement type to Enhanced
- Set MSH15 (Accept Acknowledgement Type) to NE.
- Set MSH16 (Application Acknowledgement Type to ER
- Turn on Route ACK to send pipeline on request-response,
It appears to get the behavior I want. Success ACKs won't be generated by the pipeline, letting my orchestration handle it, but application ACK errors will be generated (AR - Application Rejection), and routed to the send pipeline.