You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2008/12/08 10:54:05 UTC

[jira] Resolved: (SM-1712) ExchangeListener is called with exchangeSent instead of exchangeAccepted when using sendSync

     [ https://issues.apache.org/activemq/browse/SM-1712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved SM-1712.
---------------------------------

    Resolution: Fixed

Sending        src/main/java/org/apache/servicemix/jbi/messaging/DeliveryChannelImpl.java
Transmitting file data .
Committed revision 724301.

Sending        src/main/java/org/apache/servicemix/jbi/messaging/DeliveryChannelImpl.java
Transmitting file data .
Committed revision 724299.

> ExchangeListener is called with exchangeSent instead of exchangeAccepted when using sendSync
> --------------------------------------------------------------------------------------------
>
>                 Key: SM-1712
>                 URL: https://issues.apache.org/activemq/browse/SM-1712
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-core
>    Affects Versions: 3.3
>            Reporter: Gianfranco Boccalon
>            Assignee: Guillaume Nodet
>             Fix For: 3.3.1, 3.2.4
>
>         Attachments: firstProcess_v_0-sa.zip, SimpleExchangeListener.java
>
>
> I have a very simple process composed as follows:
> CXF-BC Consumer->My component
> The MEP is InOut.
> The problem is that the CXF send too many messages to my component.
> I used a listener to see the messages sent.
> The messages are:
> ------ FIRST MESSAGE (from CXF to my component, only "in" message contained in the exchange) -----
> INFO  - SimpleExchangeListener         - Status: Active
> INFO  - SimpleExchangeListener         - InOut[
>  id: ID:192.168.20.106-11de3ccb3eb-4:1
>  status: Active
>  role: consumer
> ------ SECOND MESSAGE (from my component to CXF, same exchange with "out" message, in addition to "in" message) -----
> INFO  - SimpleExchangeListener         - Status: Active
> INFO  - SimpleExchangeListener         - InOut[
>  id: ID:192.168.20.106-11de3ccb3eb-4:1
>  status: Active
>  role: provider
> ------ THIRD MESSAGE ----- <---- WHAT IS THIS ?? (This message is sent by CXF, the exchange is the same of second message, but the role changed from provider to consumer. The JBI InOut MEP specification doesn't say anything about this message)
> INFO  - SimpleExchangeListener         - Status: Active
> INFO  - SimpleExchangeListener         - InOut[
>  id: ID:192.168.20.106-11de3ccb3eb-4:1
>  status: Active
>  role: consumer
> ------ FOURTH MESSAGE (This is the DONE message sent by the CXF to my component )-----
> INFO  - SimpleExchangeListener         - Status: Done
> INFO  - SimpleExchangeListener         - InOut[
>  id: ID:192.168.20.106-11de3ccb3eb-4:1
>  status: Done
>  role: consumer

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.