Topic
  • 3 replies
  • Latest Post - ‏2012-09-17T13:38:34Z by Poondla
Poondla
Poondla
4 Posts

Pinned topic How to split processing logic at documement manager

‏2012-08-15T15:58:46Z |
Our development has built customized classes to support NAESB protocol(document manager processing logic). Entire logic is part of fixed flow. Here they written code for generating ACK file, signature verification, decrypting the file,and encrypting the file to post to another partner. Every thing is working fine but the problem is ACK file is not delivering to the partner as soon as it created. It is delivering once the encrypted file to another partner.

Is there a way to decouple the processing logic. I want deliver the sync response first and would like to process remaining steps later. with the current process it is taking more than 10 minutes to deliver ACK for large files.

I need help in separating the logic either by re-design the entire process or decouple doc-manager code. Your help is highly appreciated thank you
Updated on 2012-09-17T13:38:34Z at 2012-09-17T13:38:34Z by Poondla
  • AvV
    AvV
    117 Posts

    Re: How to split processing logic at documement manager

    ‏2012-08-16T18:16:53Z  
    Hi Rahul,

    I am happy to work with you on the performance issue.

    Please share with us what kind of logic you have putted (if applicable) in :
    • Inbound Fixed Workflow
    • Action (Variable Workflow)
    • Outbound Fixed Workflow

    Some other thought's : if the creation of your sync response (ACK) does not need any processing (e.g. parsing) of the business document, then you might consider using the ReceiverPreProcessHandler.
    In this handler you create two new documents : 1. pass-through the original business document, 2, create a new business document for the ACK.

    Arjan

    Senior IT-Specialist
    WebSphere B2B (WPG/WDI), WMQ AMS, WMQ FTE
    IBM Software Services for WebSphere
    Software Group, IMT BNL
  • Poondla
    Poondla
    4 Posts

    Re: How to split processing logic at documement manager

    ‏2012-08-20T15:23:34Z  
    • AvV
    • ‏2012-08-16T18:16:53Z
    Hi Rahul,

    I am happy to work with you on the performance issue.

    Please share with us what kind of logic you have putted (if applicable) in :
    • Inbound Fixed Workflow
    • Action (Variable Workflow)
    • Outbound Fixed Workflow

    Some other thought's : if the creation of your sync response (ACK) does not need any processing (e.g. parsing) of the business document, then you might consider using the ReceiverPreProcessHandler.
    In this handler you create two new documents : 1. pass-through the original business document, 2, create a new business document for the ACK.

    Arjan

    Senior IT-Specialist
    WebSphere B2B (WPG/WDI), WMQ AMS, WMQ FTE
    IBM Software Services for WebSphere
    Software Group, IMT BNL
    Thank you Arjan for your response

    Yes, we need to send the response(ACK file) without processing the business document.

    Inbound Fixed workflow is defined to unpackage the incoming file and few action action classes were defined for data validation and to post the files FTP location.
    code in unpackaging program is 1. generate ACK file 2. Decrypt the inblound file 3. uncompress the file
    Thanks & Regards
    Rahul Poondla
  • Poondla
    Poondla
    4 Posts

    Re: How to split processing logic at documement manager

    ‏2012-09-17T13:38:34Z  
    Hi Arjan,

    Can you please let me know how to send response from ReceiverPreProcessHandler? Can you please provide a sample to send encrypted response from ReceiverPreProcessHandler?

    Thank you
    Rahul Poondla