camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pointless <pointless2...@yahoo.com>
Subject Camel CXF synchronous=true setting causes CXF bean invocation last for 60 seconds or more
Date Tue, 17 Jul 2012 16:13:00 GMT
Hello,

I'm using Camel with Servicemix (2.7.1.fuse-00-43).
The problem happens when setting synchronous=true - <to
uri="cxf:bean:cxfBean" /> invocation hangs for 60 or more seconds with no
obvious reason. The operation in WSDL is a one-way operation. I have also
tried defining CXF bus, and using URL options:
<to
uri="cxf://http://dummy?dataFormat=PAYLOAD&amp;synchronous=true&amp;wsdlURL=classpath:wsdl/aaa-bbb-CashManagement-Customer-V01.wsdl&amp;bus=#cxf-callback"
/>
but the result is the same. What are the reasons for such a delay in CXF
bean call? If I select synchronous=false, then error handling is not working
(as was described in the links in the comment below).

 


2012-07-17 *15:02:13*,477 | INFO  |
banktocustomerdebitcreditnotificationv02.MainRoute |
Exchange[Id:ID:vavi104a-48450-1342101770302-10:105:1:1:1];ReqId[igor_test_notification_004_VALID];http://localhost:9876/cashManagement
2012-07-17 *15:03:39*,902 | DEBUG |
banktocustomerdebitcreditnotificationv02.MainRoute |
Exchange[Id:ID:vavi104a-48450-1342101770302-10:105:1:1:1];ReqId[igor_test_notification_004_VALID];CashManagementV01.bankToCustomerDebitCreditNotificationV02
successfully executed.


Igor

--
View this message in context: http://camel.465427.n5.nabble.com/Camel-CXF-synchronous-true-setting-causes-CXF-bean-invocation-last-for-60-seconds-or-more-tp5716160.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message