[
https://issues.apache.org/activemq/browse/SM-1712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47883#action_47883
]
Guillaume Nodet commented on SM-1712:
-------------------------------------
I've run your SA and launch a simple soap request.
I can see only 3 messages there. Are you sure the problem does not come from
your listener somehow ?
IIRC, listeners are invoked when messages are sent *and* accepted, so the
listener should be called 6 times actually.
{code}
DEBUG - CxfBcComponent - Created correlation id:
ID:192.168.0.128-11e076198a3-18:0
DEBUG - DeliveryChannelImpl - SendSync
ID:192.168.0.128-11e076198a3-18:0 in DeliveryChannel{servicemix-cxf-bc}
DEBUG - SecuredBroker - send exchange with secure broker
DEBUG - SecuredBroker - service name
:{urn:eng:spagic:processes:firstProcess:v0}firstProcess.Transform_v_0
DEBUG - SecuredBroker - operation name
:{urn:eng:spagic:processes:firstProcess:v0}run
DEBUG - SedaFlow - Called Flow send
DEBUG - DeliveryChannelImpl - Waiting for exchange
ID:192.168.0.128-11e076198a3-18:0 (8ccd21) to be answered in
DeliveryChannel{servicemix-cxf-bc} from sendSync
DEBUG - SedaQueue - [EMAIL PROTECTED] dequeued exchange:
InOut[
id: ID:192.168.0.128-11e076198a3-18:0
status: Active
role: provider
service: {urn:eng:spagic:processes:firstProcess:v0}firstProcess.Transform_v_0
endpoint: firstProcess.Transform_v_0
operation: {urn:eng:spagic:processes:firstProcess:v0}run
in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"
xmlns:msg="urn:eng:spagic:processes:firstProcess:v0"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="msgRequest"
type="msg:msgRequest" version="1.0"><jbi:part><urn:payload
xmlns:urn="urn:eng:spagic">?</urn:payload></jbi:part></jbi:message>
]
DEBUG - DeliveryChannelImpl - Send ID:192.168.0.128-11e076198a3-18:0
in DeliveryChannel{firstProcess.Transform_v_0}
DEBUG - SecuredBroker - send exchange with secure broker
DEBUG - SedaFlow - Called Flow send
DEBUG - SedaQueue - [EMAIL PROTECTED] dequeued exchange:
InOut[
id: ID:192.168.0.128-11e076198a3-18:0
status: Active
role: consumer
service: {urn:eng:spagic:processes:firstProcess:v0}firstProcess.Transform_v_0
endpoint: firstProcess.Transform_v_0
operation: {urn:eng:spagic:processes:firstProcess:v0}run
in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"
xmlns:msg="urn:eng:spagic:processes:firstProcess:v0"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="msgRequest"
type="msg:msgRequest" version="1.0"><jbi:part><urn:payload
xmlns:urn="urn:eng:spagic">?</urn:payload></jbi:part></jbi:message>
out: <?xml version="1.0" encoding="UTF-8"?><jbi:message
xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="msgRequest"
type="msg:msgRequest" version="1.0"><jbi:part><urn:payload
xmlns:urn="urn:eng:spagic">?</urn:payload></jbi:part></jbi:message>
]
DEBUG - DeliveryChannelImpl - Notifying exchange
ID:192.168.0.128-11e076198a3-18:0(8ccd21) in DeliveryChannel{servicemix-cxf-bc}
from processInboundSynchronousExchange
DEBUG - DeliveryChannelImpl - Notified:
ID:192.168.0.128-11e076198a3-18:0(8ccd21) in DeliveryChannel{servicemix-cxf-bc}
from sendSync
DEBUG - DeliveryChannelImpl - Send ID:192.168.0.128-11e076198a3-18:0
in DeliveryChannel{servicemix-cxf-bc}
DEBUG - SecuredBroker - send exchange with secure broker
DEBUG - SedaFlow - Called Flow send
DEBUG - SedaQueue - [EMAIL PROTECTED] dequeued exchange:
InOut[
id: ID:192.168.0.128-11e076198a3-18:0
status: Done
role: provider
service: {urn:eng:spagic:processes:firstProcess:v0}firstProcess.Transform_v_0
endpoint: firstProcess.Transform_v_0
operation: {urn:eng:spagic:processes:firstProcess:v0}run
in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"
xmlns:msg="urn:eng:spagic:processes:firstProcess:v0"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="msgRequest"
type="msg:msgRequest" version="1.0"><jbi:part><urn:payload
xmlns:urn="urn:eng:spagic">?</urn:payload></jbi:part></jbi:message>
out: <?xml version="1.0" encoding="UTF-8"?><jbi:message
xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="msgRequest"
type="msg:msgRequest" version="1.0"><jbi:part><urn:payload
xmlns:urn="urn:eng:spagic">?</urn:payload></jbi:part></jbi:message>
]
{code}
> CXF-BC consumer sends too many messages
> ---------------------------------------
>
> Key: SM-1712
> URL: https://issues.apache.org/activemq/browse/SM-1712
> Project: ServiceMix
> Issue Type: Bug
> Components: servicemix-cxf-bc
> Affects Versions: 3.3
> Reporter: Gianfranco Boccalon
> Attachments: firstProcess_v_0-sa.zip
>
>
> 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.