Hi GianFranco,

Are you sure that what is being sent is a message. My sense is that this
might be a message exchange going back and forth while following the In-Out
MEP rather than multiple messages. 

Please check out the In-Out MEP and look at the exchanges and status
settings as they are sent and that will give you the idea.

Hope this helps.

Cheers,

Ashwin...



Gianfranco Boccalon wrote:
> 
> Hello,
> 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
> 
> 
> Any idea ?
> -- 
> 
> *Gianfranco Boccalon, PMP*
> ______________________________________
> <www.spagoworld.org>
> 
> Spago&Spagic Project Leader
> ______________________________________
> 
> Senior Consultant
> Architectures & Consulting
> Research & Innovation Division
> *Engineering Ingegneria Informatica S.p.A.
> *
> Corso Stati Uniti, 23/C - 35127 Padova - Italy
> Phone:  +39-049.8692511    Fax:+39-049.8692566
> Mobile: +39-3357813507
> 
> *www.eng.it                    www.spagoworld.org*
>       
> 
> 
> 
> 
> 


-----
--- 
Ashwin Karpe, Principal Consultant, PS - Opensource Center of Competence 
Progress Software Corporation
14 Oak Park Drive
Bedford, MA 01730
--- 
+1-972-304-9084 (Office) 
+1-972-971-1700 (Mobile) 
---- 
Blog: http://opensourceknowledge.blogspot.com/


-- 
View this message in context: 
http://www.nabble.com/CXF-BC-consumer-sends-too-many-messages-tp20737330p20740715.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to