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
This topic has been locked.
3 replies Latest Post - 2012-09-17T13:38:34Z by Poondla
Pinned topic How to split processing logic at documement manager
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-09-17T13:38:34Z at 2012-09-17T13:38:34Z by Poondla
AvV 2000000BY4117 PostsACCEPTED ANSWER
Re: How to split processing logic at documement manager2012-08-16T18:16:53Z in response to PoondlaHi 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.
WebSphere B2B (WPG/WDI), WMQ AMS, WMQ FTE
IBM Software Services for WebSphere
Software Group, IMT BNL
Re: How to split processing logic at documement manager2012-08-20T15:23:34Z in response to AvVThank 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
Re: How to split processing logic at documement manager2012-09-17T13:38:34Z in response to PoondlaHi 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?