locked
Sending NACK from Custom Pipeline component on ReqRes WCF port RRS feed

  • Question

  • Hello,

    We have a TwoWay receive port where the schema is exposed as a Web service.

    We receive XML wrapped HL7 ORM (LabOrder) message on the receive location which has a custom pipeline, in custom pipeline we have two custom pipeline components 1. Logging Component (which logs the raw message to sql database) 2) Custom HL7XMLDisassemler.

    We want to send NACK from within the Logging pipeline component back to the client when exception occures. For this purpose I am catching the Sql exception and creating a new IBaseMessage and promoting the properties like RouteDirectToTP, EpmRRCorrelationToken, ReceivePipelineResponseConfig, CorrelationToken, ReqRespTransmitPipelineID and IsRequestResponse. (These properties are getting promoted in NACK out message, verified debugging the pipeline component)

    Even promoting this properties the message gets consumed by next ppeline component and client does not ger NACK.

    The same works in case of ORU messages which we receive on MLLP adapter. We do get NACK back if sql server is down or not reachable.

    Please suggest if  am missing any steps or it differs in case of MLLP and WCF request response.

    Thanks a lot...



    Wednesday, May 20, 2015 9:19 AM

All replies

  • Even promoting this properties the message gets consumed by next ppeline component and client does not ger NACK.

    Any other explanation/hints about this phenomenon?
    Thursday, May 28, 2015 9:57 AM
  • Hello Dhiraj,

    few things to check ?

    1. Logging Component (which logs the raw message to sql database) 2) Custom HL7XMLDisassemler.?-> Are they in the same stage of the pipeline ?

    2. Are you using any maps ? in the inbound or outbound way?

    3. did you check the promoted properties in Admin console?

    Is the message Type is matching with the outbound schema on your response port?

    Hope this helps.


    Greetings,HTH
    Naushad Alam

    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer
    alamnaushad.wordpress.com

    Tuesday, June 2, 2015 2:52 PM
    Moderator