Effective October 27, 2012, online and email support for FuseSource products will move to Red Hat support channels. For more information, please see the JIRA Migration to Red Hat FAQ.
As of October 27th, please open all new issues in the Red Hat Customer Portal .
Issue Details (XML | Word | Printable)

Key: ESB-1013
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Willem Jiang
Reporter: deleted user
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
FUSE ESB

Camel CXF Producer does not work when deployed in JBI SU

Created: 10/Nov/09 11:30 AM   Updated: 04/Dec/09 12:29 PM
Component/s: servicemix-camel
Affects Version/s: 4.2.0.0M1-fuse, 4.1.0-psc-01-00M2
Fix Version/s: 4.1.0-psc-01-00RC1

File Attachments: 1. Zip Archive camelcxfProblem.zip (33 kB)


External Issue URL: https://issues.apache.org/activemq/browse/SMX4-422


 Description  « Hide
CamelCXF component gets a NoConduitInitiator found exception if deployed inside JBI SU. A complete test SA will be attached shortly

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
deleted user added a comment - 10/Nov/09 11:35 AM
1. install SMX 4.2-fuse-SNAPSHOT
2. Unzip the project
3. Build it starting from the root, the result is a camelcxf-smxcxf-sa.zip in
camelcxfproblem/jbi/camelcxf-smxcxf/camelcxf-smxcxf-sa/target/camelcxf-smxcxf-sa.zip

This JBI SA consists of a number of SUs (see camelcxfproblem/jbi/camelcxf-smxcxf/) but the SU of interest is
camelcxf-smxcxf-camel1-su. The route is supposed to work as follows :

  • an http message is picked up from an http jbi endpoint (see camelcxf-smxcxf-http-su) and is forwarded to a remote addess using a
    camelcxf component. This request will be handled by cxfbc, cxfse and eip SUnits and the response will be forwarded to
    log:soapresponse. Camel context also declares another route. But at the moment the first route does not work (camelcxf)
    due to NoConduitInitiator...

4. So, to reproduce an issue, just drop this SA into /deploy folder and then start camelcxfproblem//client.html and send a SOAP
message, and you'll see the exception...

Note that I've commented <import> statements in camelcxf-smxcxf-camel1-su xbean.xml (and corresponding deps in
camelcxfproblem/jbi/camelcxf-smxcxf/camelcxf-smxcxf-camel1-su/pom.xml), just for you to start from where I started. I've tried with
imports too but it did nnot make any difference


deleted user made changes - 10/Nov/09 11:35 AM
Field Original Value New Value
Attachment camelcxfProblem.zip [ 15275 ]

deleted user made changes - 10/Nov/09 05:08 PM
Summary Camel CXF does not work when deployed in JBI SU Camel CXF Producer does not work when deployed in JBI SU
deleted user added a comment - 11/Nov/09 09:40 AM
Great stuff, thanks Willem

Willem Jiang made changes - 13/Nov/09 08:24 AM
Assignee Rob Davies [ rajdavies ] Willem Jiang [ njiang ]
Willem Jiang added a comment - 13/Nov/09 08:25 AM

Willem Jiang made changes - 13/Nov/09 08:25 AM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Willem Jiang made changes - 13/Nov/09 08:45 AM
Resolution Fixed [ 1 ]
Status Resolved [ 5 ] Reopened [ 4 ]
External Issue URL https://issues.apache.org/activemq/browse/SMX4-422
Willem Jiang made changes - 13/Nov/09 08:45 AM
Affects Version/s 4.1.0-psc-01-00M2 [ 10656 ]
Affects Version/s 4.2.0.0M1-fuse [ 10640 ]
Affects Version/s  4.1.0-psc-01-00 [ 10521 ]
Fix Version/s 4.1.0-psc-01-00M3 [ 10731 ]
Fix Version/s  4.1.0-psc-01-00 [ 10521 ]
Willem Jiang added a comment - 13/Nov/09 08:48 AM
Submit the patch to SMX4-422 with updating the system properties of cxf BusFactory.
org.apache.cxf.bus.factory=org.apache.cxf.bus.spring.SpringBusFactory

Will close this issue, after the patch is synced into the Fuse repository.


Willem Jiang added a comment - 24/Nov/09 01:56 PM
This issue should be fix with CAMEL-2216 in camel-cxf.

Willem Jiang made changes - 04/Dec/09 12:29 PM
Status Reopened [ 4 ] Closed [ 6 ]
Resolution Fixed [ 1 ]