ACK interleaving

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

ACK interleaving

marco.sessa
Hi All,
I am struggling with an drawback related to ACK interleaving on a HL7 proxy (EI 6.1.0).
In some conditions (parallel request to the same proxy) the system sender seems to receive Interleaved ACKs .
I have no control on sender(and on receiver) system and in the log the ACKs come in to the correct sequence.
In the Analytics profile the messages and relative ACK are paired correctly, but the sender receive a wrokg ACKs for some request.

The proxy is in attachment

My problem is know what IP and PORT is used by WSO2 Integrator to send back the ACKs for exclude an ESB problem.


Thank in advance
Marco

Marco Sessa
Software Analyst / Developer

CSP S.p.A.
Napoli - Centro Direzionale,
isola G/1, scala C
Tel: 081.191.38.607

Cel: 340.8689247
Email: [hidden email]
www.cspnet.it


_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev

toViewpointOEProxy.xml (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: ACK interleaving

marco.sessa
Hi Dev,
I am analyzed the ACK interleaving with Wireshark and I have observed that WSO2 Integrator send back ACK in the wrong channel if receive parallel messages on a HL7 proxy.
I have opened this issue on github.
I would try to debug the code, but I not know which source code of projects other then wso2/product-ei I should download.

Thanks for help
Marco

Marco Sessa
Software Analyst / Developer

CSP S.p.A.
Napoli - Centro Direzionale,
isola G/1, scala C
Tel: 081.191.38.607

Cel: 340.8689247
Email: [hidden email]
www.cspnet.it


2017-11-29 11:59 GMT+01:00 Marco Sessa <[hidden email]>:
Hi All,
I am struggling with an drawback related to ACK interleaving on a HL7 proxy (EI 6.1.0).
In some conditions (parallel request to the same proxy) the system sender seems to receive Interleaved ACKs .
I have no control on sender(and on receiver) system and in the log the ACKs come in to the correct sequence.
In the Analytics profile the messages and relative ACK are paired correctly, but the sender receive a wrokg ACKs for some request.

The proxy is in attachment

My problem is know what IP and PORT is used by WSO2 Integrator to send back the ACKs for exclude an ESB problem.


Thank in advance
Marco

Marco Sessa
Software Analyst / Developer

CSP S.p.A.
Napoli - Centro Direzionale,
isola G/1, scala C
Tel: 081.191.38.607

Cel: 340.8689247
Email: [hidden email]
www.cspnet.it



_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: ACK interleaving

Jason De Silva
Hi Marco,

In order to debug the code you should be able to do so by checking out the code in [1] as mentioned in [2].


Regards,
Jason

Jason De Silva
Software Engineer - QA
Mobile: <a href="tel:%2B94%20%280%29%20772%20097%20678" value="+94773381250" target="_blank">+94 (0) 772 097 678
Email: [hidden email]
WSO2 Inc. www.wso2.com


On Sat, Dec 2, 2017 at 1:54 AM, Marco Sessa <[hidden email]> wrote:
Hi Dev,
I am analyzed the ACK interleaving with Wireshark and I have observed that WSO2 Integrator send back ACK in the wrong channel if receive parallel messages on a HL7 proxy.
I have opened this issue on github.
I would try to debug the code, but I not know which source code of projects other then wso2/product-ei I should download.

Thanks for help
Marco

Marco Sessa
Software Analyst / Developer

CSP S.p.A.
Napoli - Centro Direzionale,
isola G/1, scala C
Tel: 081.191.38.607

Cel: 340.8689247
Email: [hidden email]
www.cspnet.it


2017-11-29 11:59 GMT+01:00 Marco Sessa <[hidden email]>:
Hi All,
I am struggling with an drawback related to ACK interleaving on a HL7 proxy (EI 6.1.0).
In some conditions (parallel request to the same proxy) the system sender seems to receive Interleaved ACKs .
I have no control on sender(and on receiver) system and in the log the ACKs come in to the correct sequence.
In the Analytics profile the messages and relative ACK are paired correctly, but the sender receive a wrokg ACKs for some request.

The proxy is in attachment

My problem is know what IP and PORT is used by WSO2 Integrator to send back the ACKs for exclude an ESB problem.


Thank in advance
Marco

Marco Sessa
Software Analyst / Developer

CSP S.p.A.
Napoli - Centro Direzionale,
isola G/1, scala C
Tel: 081.191.38.607

Cel: 340.8689247
Email: [hidden email]
www.cspnet.it



_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev



_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: ACK interleaving

Vinod Kavinda
Hi Marco,
The HL7 related code is in [1] inside carbon-mediation repo.


Regards,
Vinod

On Sat, Dec 2, 2017 at 10:01 AM, Jason De Silva <[hidden email]> wrote:
Hi Marco,

In order to debug the code you should be able to do so by checking out the code in [1] as mentioned in [2].


Regards,
Jason

Jason De Silva
Software Engineer - QA
Mobile: <a href="tel:%2B94%20%280%29%20772%20097%20678" value="+94773381250" target="_blank">+94 (0) 772 097 678
Email: [hidden email]
WSO2 Inc. www.wso2.com


On Sat, Dec 2, 2017 at 1:54 AM, Marco Sessa <[hidden email]> wrote:
Hi Dev,
I am analyzed the ACK interleaving with Wireshark and I have observed that WSO2 Integrator send back ACK in the wrong channel if receive parallel messages on a HL7 proxy.
I have opened this issue on github.
I would try to debug the code, but I not know which source code of projects other then wso2/product-ei I should download.

Thanks for help
Marco

Marco Sessa
Software Analyst / Developer

CSP S.p.A.
Napoli - Centro Direzionale,
isola G/1, scala C
Tel: 081.191.38.607

Cel: 340.8689247
Email: [hidden email]
www.cspnet.it


2017-11-29 11:59 GMT+01:00 Marco Sessa <[hidden email]>:
Hi All,
I am struggling with an drawback related to ACK interleaving on a HL7 proxy (EI 6.1.0).
In some conditions (parallel request to the same proxy) the system sender seems to receive Interleaved ACKs .
I have no control on sender(and on receiver) system and in the log the ACKs come in to the correct sequence.
In the Analytics profile the messages and relative ACK are paired correctly, but the sender receive a wrokg ACKs for some request.

The proxy is in attachment

My problem is know what IP and PORT is used by WSO2 Integrator to send back the ACKs for exclude an ESB problem.


Thank in advance
Marco

Marco Sessa
Software Analyst / Developer

CSP S.p.A.
Napoli - Centro Direzionale,
isola G/1, scala C
Tel: 081.191.38.607

Cel: 340.8689247
Email: [hidden email]
www.cspnet.it



_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev



_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--
Vinod Kavinda
Senior Software Engineer 
Mobile : <a href="tel:%2B94%20%280%29%20712%20415544" value="+94773451194" style="color:rgb(17,85,204)" target="_blank">+94 (0) 712 415544
http://wso2.com/signature


_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: ACK interleaving

marco.sessa
Hi Vinod,
I have found the potential problem:
one instance of the class org.wso2.carbon.business.messaging.hl7.common.HL7ProcessingContext  is shared over multiple threads request for the same proxy and the blockingQueue applicationResponses could contains all the responses(in any order based on server response time).
When handleApplicationACK is called from each thread this method return the first response in the queue(if available, otherwise the thread wait for any), without making sure it is the answer(ACK) associated with the current message(hl7Msg parameter).
I have observed that the order of the applicationResponses queue could be different of the order of the waiting thread.
This causes the wrong ACK to be sent to the sender.

How to we proceed to the bug fix?

Many thanks
Marco

P.S.: I have already opened this issue:



Marco Sessa
Software Analyst / Developer

CSP S.p.A.
Napoli - Centro Direzionale,
isola G/1, scala C
Tel: 081.191.38.607

Cel: 340.8689247
Email: [hidden email]
www.cspnet.it


2017-12-02 6:20 GMT+01:00 Vinod Kavinda <[hidden email]>:
Hi Marco,
The HL7 related code is in [1] inside carbon-mediation repo.


Regards,
Vinod

On Sat, Dec 2, 2017 at 10:01 AM, Jason De Silva <[hidden email]> wrote:
Hi Marco,

In order to debug the code you should be able to do so by checking out the code in [1] as mentioned in [2].


Regards,
Jason

Jason De Silva
Software Engineer - QA
Mobile: <a href="tel:%2B94%20%280%29%20772%20097%20678" value="+94773381250" target="_blank">+94 (0) 772 097 678
Email: [hidden email]
WSO2 Inc. www.wso2.com


On Sat, Dec 2, 2017 at 1:54 AM, Marco Sessa <[hidden email]> wrote:
Hi Dev,
I am analyzed the ACK interleaving with Wireshark and I have observed that WSO2 Integrator send back ACK in the wrong channel if receive parallel messages on a HL7 proxy.
I have opened this issue on github.
I would try to debug the code, but I not know which source code of projects other then wso2/product-ei I should download.

Thanks for help
Marco

Marco Sessa
Software Analyst / Developer

CSP S.p.A.
Napoli - Centro Direzionale,
isola G/1, scala C
Tel: 081.191.38.607

Cel: 340.8689247
Email: [hidden email]
www.cspnet.it


2017-11-29 11:59 GMT+01:00 Marco Sessa <[hidden email]>:
Hi All,
I am struggling with an drawback related to ACK interleaving on a HL7 proxy (EI 6.1.0).
In some conditions (parallel request to the same proxy) the system sender seems to receive Interleaved ACKs .
I have no control on sender(and on receiver) system and in the log the ACKs come in to the correct sequence.
In the Analytics profile the messages and relative ACK are paired correctly, but the sender receive a wrokg ACKs for some request.

The proxy is in attachment

My problem is know what IP and PORT is used by WSO2 Integrator to send back the ACKs for exclude an ESB problem.


Thank in advance
Marco

Marco Sessa
Software Analyst / Developer

CSP S.p.A.
Napoli - Centro Direzionale,
isola G/1, scala C
Tel: 081.191.38.607

Cel: 340.8689247
Email: [hidden email]
www.cspnet.it



_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev



_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--
Vinod Kavinda
Senior Software Engineer 
Mobile : <a href="tel:%2B94%20%280%29%20712%20415544" value="+94773451194" style="color:rgb(17,85,204)" target="_blank">+94 (0) 712 415544
http://wso2.com/signature



_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: ACK interleaving

marco.sessa
Hi Dev,
I have download the carbon-mediation-release-4.6.40-v775 source code and I made some changes in the code of the HL7 feature (https://github.com/wso2/carbon-mediation/tree/master/components/business-adaptors/hl7). After I have rebuild carbon-mediation-release-4.6.40-v775 (mvn clean install) with succses;
in my repository I have: .m2\repository\org\wso2\carbon\mediation\org.wso2.carbon.hl7.feature\4.6.41-SNAPSHOT\
Immagine incorporata 1

How do I add the new HL7 feature(4.6.41-SNAPSHOT) to the WSO2 EI?

I have tried to rebuild(mvn clean install -X) the wso2 using pom (https://docs.wso2.com/display/EI611/Installing+Features+Using+POM+Files)
replacing  <version>4.6.6</version> with <version>4.6.41-SNAPSHOT</version>
<features>
                <feature>
                  <id>org.wso2.carbon.hl7.feature.group</id>
                  <version>4.6.41-SNAPSHOT</version>
                </feature>
</features>

but I have the follow error:
The installable unit org.wso2.carbon.hl7.feature.group/4.6.41.SNAPSHOT has not been found
The complete log are in attachment

Thank for help
Marco


Marco Sessa
Software Analyst / Developer

CSP S.p.A.
Napoli - Centro Direzionale,
isola G/1, scala C
Tel: 081.191.38.607

Cel: 340.8689247
Email: [hidden email]
www.cspnet.it


2017-12-13 12:28 GMT+01:00 Marco Sessa <[hidden email]>:
Hi Vinod,
I have found the potential problem:
one instance of the class org.wso2.carbon.business.messaging.hl7.common.HL7ProcessingContext  is shared over multiple threads request for the same proxy and the blockingQueue applicationResponses could contains all the responses(in any order based on server response time).
When handleApplicationACK is called from each thread this method return the first response in the queue(if available, otherwise the thread wait for any), without making sure it is the answer(ACK) associated with the current message(hl7Msg parameter).
I have observed that the order of the applicationResponses queue could be different of the order of the waiting thread.
This causes the wrong ACK to be sent to the sender.

How to we proceed to the bug fix?

Many thanks
Marco

P.S.: I have already opened this issue:



Marco Sessa
Software Analyst / Developer

CSP S.p.A.
Napoli - Centro Direzionale,
isola G/1, scala C
Tel: 081.191.38.607

Cel: 340.8689247
Email: [hidden email]
www.cspnet.it


2017-12-02 6:20 GMT+01:00 Vinod Kavinda <[hidden email]>:
Hi Marco,
The HL7 related code is in [1] inside carbon-mediation repo.


Regards,
Vinod

On Sat, Dec 2, 2017 at 10:01 AM, Jason De Silva <[hidden email]> wrote:
Hi Marco,

In order to debug the code you should be able to do so by checking out the code in [1] as mentioned in [2].


Regards,
Jason

Jason De Silva
Software Engineer - QA
Mobile: <a href="tel:%2B94%20%280%29%20772%20097%20678" value="+94773381250" target="_blank">+94 (0) 772 097 678
Email: [hidden email]
WSO2 Inc. www.wso2.com


On Sat, Dec 2, 2017 at 1:54 AM, Marco Sessa <[hidden email]> wrote:
Hi Dev,
I am analyzed the ACK interleaving with Wireshark and I have observed that WSO2 Integrator send back ACK in the wrong channel if receive parallel messages on a HL7 proxy.
I have opened this issue on github.
I would try to debug the code, but I not know which source code of projects other then wso2/product-ei I should download.

Thanks for help
Marco

Marco Sessa
Software Analyst / Developer

CSP S.p.A.
Napoli - Centro Direzionale,
isola G/1, scala C
Tel: 081.191.38.607

Cel: 340.8689247
Email: [hidden email]
www.cspnet.it


2017-11-29 11:59 GMT+01:00 Marco Sessa <[hidden email]>:
Hi All,
I am struggling with an drawback related to ACK interleaving on a HL7 proxy (EI 6.1.0).
In some conditions (parallel request to the same proxy) the system sender seems to receive Interleaved ACKs .
I have no control on sender(and on receiver) system and in the log the ACKs come in to the correct sequence.
In the Analytics profile the messages and relative ACK are paired correctly, but the sender receive a wrokg ACKs for some request.

The proxy is in attachment

My problem is know what IP and PORT is used by WSO2 Integrator to send back the ACKs for exclude an ESB problem.


Thank in advance
Marco

Marco Sessa
Software Analyst / Developer

CSP S.p.A.
Napoli - Centro Direzionale,
isola G/1, scala C
Tel: 081.191.38.607

Cel: 340.8689247
Email: [hidden email]
www.cspnet.it



_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev



_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--
Vinod Kavinda
Senior Software Engineer 
Mobile : <a href="tel:%2B94%20%280%29%20712%20415544" value="+94773451194" style="color:rgb(17,85,204)" target="_blank">+94 (0) 712 415544
http://wso2.com/signature




_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev

rebuild_failure_wso2EI_hl7.txt (52K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: ACK interleaving

Vinod Kavinda
Hi,
You can't use the usual feature installer since your jar is not in the feature repo. Can you try following,
  1. Copy the jar file to wso2/components/plugins folder.
  2. Modify the wso2/components/default/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info file's entry related to above jar.
  3. Restart the server
Regards,
Vinod

On Thu, Dec 14, 2017 at 3:45 PM, Marco Sessa <[hidden email]> wrote:
Hi Dev,
I have download the carbon-mediation-release-4.6.40-v775 source code and I made some changes in the code of the HL7 feature (https://github.com/wso2/carbon-mediation/tree/master/components/business-adaptors/hl7). After I have rebuild carbon-mediation-release-4.6.40-v775 (mvn clean install) with succses;
in my repository I have: .m2\repository\org\wso2\carbon\mediation\org.wso2.carbon.hl7.feature\4.6.41-SNAPSHOT\
Immagine incorporata 1

How do I add the new HL7 feature(4.6.41-SNAPSHOT) to the WSO2 EI?

I have tried to rebuild(mvn clean install -X) the wso2 using pom (https://docs.wso2.com/display/EI611/Installing+Features+Using+POM+Files)
replacing  <version>4.6.6</version> with <version>4.6.41-SNAPSHOT</version>
<features>
                <feature>
                  <id>org.wso2.carbon.hl7.feature.group</id>
                  <version>4.6.41-SNAPSHOT</version>
                </feature>
</features>

but I have the follow error:
The installable unit org.wso2.carbon.hl7.feature.group/4.6.41.SNAPSHOT has not been found
The complete log are in attachment

Thank for help
Marco


Marco Sessa
Software Analyst / Developer

CSP S.p.A.
Napoli - Centro Direzionale,
isola G/1, scala C
Tel: 081.191.38.607

Cel: 340.8689247
Email: [hidden email]
www.cspnet.it


2017-12-13 12:28 GMT+01:00 Marco Sessa <[hidden email]>:
Hi Vinod,
I have found the potential problem:
one instance of the class org.wso2.carbon.business.messaging.hl7.common.HL7ProcessingContext  is shared over multiple threads request for the same proxy and the blockingQueue applicationResponses could contains all the responses(in any order based on server response time).
When handleApplicationACK is called from each thread this method return the first response in the queue(if available, otherwise the thread wait for any), without making sure it is the answer(ACK) associated with the current message(hl7Msg parameter).
I have observed that the order of the applicationResponses queue could be different of the order of the waiting thread.
This causes the wrong ACK to be sent to the sender.

How to we proceed to the bug fix?

Many thanks
Marco

P.S.: I have already opened this issue:



Marco Sessa
Software Analyst / Developer

CSP S.p.A.
Napoli - Centro Direzionale,
isola G/1, scala C
Tel: 081.191.38.607

Cel: 340.8689247
Email: [hidden email]
www.cspnet.it


2017-12-02 6:20 GMT+01:00 Vinod Kavinda <[hidden email]>:
Hi Marco,
The HL7 related code is in [1] inside carbon-mediation repo.


Regards,
Vinod

On Sat, Dec 2, 2017 at 10:01 AM, Jason De Silva <[hidden email]> wrote:
Hi Marco,

In order to debug the code you should be able to do so by checking out the code in [1] as mentioned in [2].


Regards,
Jason

Jason De Silva
Software Engineer - QA
Mobile: <a href="tel:%2B94%20%280%29%20772%20097%20678" value="+94773381250" target="_blank">+94 (0) 772 097 678
Email: [hidden email]
WSO2 Inc. www.wso2.com


On Sat, Dec 2, 2017 at 1:54 AM, Marco Sessa <[hidden email]> wrote:
Hi Dev,
I am analyzed the ACK interleaving with Wireshark and I have observed that WSO2 Integrator send back ACK in the wrong channel if receive parallel messages on a HL7 proxy.
I have opened this issue on github.
I would try to debug the code, but I not know which source code of projects other then wso2/product-ei I should download.

Thanks for help
Marco

Marco Sessa
Software Analyst / Developer

CSP S.p.A.
Napoli - Centro Direzionale,
isola G/1, scala C
Tel: 081.191.38.607

Cel: 340.8689247
Email: [hidden email]
www.cspnet.it


2017-11-29 11:59 GMT+01:00 Marco Sessa <[hidden email]>:
Hi All,
I am struggling with an drawback related to ACK interleaving on a HL7 proxy (EI 6.1.0).
In some conditions (parallel request to the same proxy) the system sender seems to receive Interleaved ACKs .
I have no control on sender(and on receiver) system and in the log the ACKs come in to the correct sequence.
In the Analytics profile the messages and relative ACK are paired correctly, but the sender receive a wrokg ACKs for some request.

The proxy is in attachment

My problem is know what IP and PORT is used by WSO2 Integrator to send back the ACKs for exclude an ESB problem.


Thank in advance
Marco

Marco Sessa
Software Analyst / Developer

CSP S.p.A.
Napoli - Centro Direzionale,
isola G/1, scala C
Tel: 081.191.38.607

Cel: 340.8689247
Email: [hidden email]
www.cspnet.it



_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev



_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--
Vinod Kavinda
Senior Software Engineer 
Mobile : <a href="tel:%2B94%20%280%29%20712%20415544" value="+94773451194" style="color:rgb(17,85,204)" target="_blank">+94 (0) 712 415544
http://wso2.com/signature




_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--
Vinod Kavinda
Senior Software Engineer 
Mobile : <a href="tel:%2B94%20%280%29%20712%20415544" value="+94773451194" style="color:rgb(17,85,204)" target="_blank">+94 (0) 712 415544
http://wso2.com/signature


_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: ACK interleaving

marco.sessa
Thanks Vinod,
it work good!

I now try to fix the race condition on HL7 module.

Regards,
Marco

Marco Sessa
Software Analyst / Developer

CSP S.p.A.
Napoli - Centro Direzionale,
isola G/1, scala C
Tel: 081.191.38.607

Cel: 340.8689247
Email: [hidden email]
www.cspnet.it


2017-12-14 12:07 GMT+01:00 Vinod Kavinda <[hidden email]>:
Hi,
You can't use the usual feature installer since your jar is not in the feature repo. Can you try following,
  1. Copy the jar file to wso2/components/plugins folder.
  2. Modify the wso2/components/default/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info file's entry related to above jar.
  3. Restart the server
Regards,
Vinod

On Thu, Dec 14, 2017 at 3:45 PM, Marco Sessa <[hidden email]> wrote:
Hi Dev,
I have download the carbon-mediation-release-4.6.40-v775 source code and I made some changes in the code of the HL7 feature (https://github.com/wso2/carbon-mediation/tree/master/components/business-adaptors/hl7). After I have rebuild carbon-mediation-release-4.6.40-v775 (mvn clean install) with succses;
in my repository I have: .m2\repository\org\wso2\carbon\mediation\org.wso2.carbon.hl7.feature\4.6.41-SNAPSHOT\
Immagine incorporata 1

How do I add the new HL7 feature(4.6.41-SNAPSHOT) to the WSO2 EI?

I have tried to rebuild(mvn clean install -X) the wso2 using pom (https://docs.wso2.com/display/EI611/Installing+Features+Using+POM+Files)
replacing  <version>4.6.6</version> with <version>4.6.41-SNAPSHOT</version>
<features>
                <feature>
                  <id>org.wso2.carbon.hl7.feature.group</id>
                  <version>4.6.41-SNAPSHOT</version>
                </feature>
</features>

but I have the follow error:
The installable unit org.wso2.carbon.hl7.feature.group/4.6.41.SNAPSHOT has not been found
The complete log are in attachment

Thank for help
Marco


Marco Sessa
Software Analyst / Developer

CSP S.p.A.
Napoli - Centro Direzionale,
isola G/1, scala C
Tel: 081.191.38.607

Cel: 340.8689247
Email: [hidden email]
www.cspnet.it


2017-12-13 12:28 GMT+01:00 Marco Sessa <[hidden email]>:
Hi Vinod,
I have found the potential problem:
one instance of the class org.wso2.carbon.business.messaging.hl7.common.HL7ProcessingContext  is shared over multiple threads request for the same proxy and the blockingQueue applicationResponses could contains all the responses(in any order based on server response time).
When handleApplicationACK is called from each thread this method return the first response in the queue(if available, otherwise the thread wait for any), without making sure it is the answer(ACK) associated with the current message(hl7Msg parameter).
I have observed that the order of the applicationResponses queue could be different of the order of the waiting thread.
This causes the wrong ACK to be sent to the sender.

How to we proceed to the bug fix?

Many thanks
Marco

P.S.: I have already opened this issue:



Marco Sessa
Software Analyst / Developer

CSP S.p.A.
Napoli - Centro Direzionale,
isola G/1, scala C
Tel: 081.191.38.607

Cel: 340.8689247
Email: [hidden email]
www.cspnet.it


2017-12-02 6:20 GMT+01:00 Vinod Kavinda <[hidden email]>:
Hi Marco,
The HL7 related code is in [1] inside carbon-mediation repo.


Regards,
Vinod

On Sat, Dec 2, 2017 at 10:01 AM, Jason De Silva <[hidden email]> wrote:
Hi Marco,

In order to debug the code you should be able to do so by checking out the code in [1] as mentioned in [2].


Regards,
Jason

Jason De Silva
Software Engineer - QA
Mobile: <a href="tel:%2B94%20%280%29%20772%20097%20678" value="+94773381250" target="_blank">+94 (0) 772 097 678
Email: [hidden email]
WSO2 Inc. www.wso2.com


On Sat, Dec 2, 2017 at 1:54 AM, Marco Sessa <[hidden email]> wrote:
Hi Dev,
I am analyzed the ACK interleaving with Wireshark and I have observed that WSO2 Integrator send back ACK in the wrong channel if receive parallel messages on a HL7 proxy.
I have opened this issue on github.
I would try to debug the code, but I not know which source code of projects other then wso2/product-ei I should download.

Thanks for help
Marco

Marco Sessa
Software Analyst / Developer

CSP S.p.A.
Napoli - Centro Direzionale,
isola G/1, scala C
Tel: 081.191.38.607

Cel: 340.8689247
Email: [hidden email]
www.cspnet.it


2017-11-29 11:59 GMT+01:00 Marco Sessa <[hidden email]>:
Hi All,
I am struggling with an drawback related to ACK interleaving on a HL7 proxy (EI 6.1.0).
In some conditions (parallel request to the same proxy) the system sender seems to receive Interleaved ACKs .
I have no control on sender(and on receiver) system and in the log the ACKs come in to the correct sequence.
In the Analytics profile the messages and relative ACK are paired correctly, but the sender receive a wrokg ACKs for some request.

The proxy is in attachment

My problem is know what IP and PORT is used by WSO2 Integrator to send back the ACKs for exclude an ESB problem.


Thank in advance
Marco

Marco Sessa
Software Analyst / Developer

CSP S.p.A.
Napoli - Centro Direzionale,
isola G/1, scala C
Tel: 081.191.38.607

Cel: 340.8689247
Email: [hidden email]
www.cspnet.it



_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev



_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--
Vinod Kavinda
Senior Software Engineer 
Mobile : <a href="tel:%2B94%20%280%29%20712%20415544" value="+94773451194" style="color:rgb(17,85,204)" target="_blank">+94 (0) 712 415544
http://wso2.com/signature




_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--
Vinod Kavinda
Senior Software Engineer 
Mobile : <a href="tel:%2B94%20%280%29%20712%20415544" value="+94773451194" style="color:rgb(17,85,204)" target="_blank">+94 (0) 712 415544
http://wso2.com/signature



_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev