camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William Tam (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-4436) CxfRsProducer clientFactoryBean's bus should be initialized
Date Sat, 10 Sep 2011 03:13:19 GMT
CxfRsProducer clientFactoryBean's bus should be initialized
-----------------------------------------------------------

                 Key: CAMEL-4436
                 URL: https://issues.apache.org/jira/browse/CAMEL-4436
             Project: Camel
          Issue Type: Bug
          Components: camel-cxf
    Affects Versions: 2.8.0
            Reporter: William Tam
            Assignee: William Tam
            Priority: Minor


This defect only manifests itself if an application hosts more than one CamelContext.  The
first CamelContext contained by a Spring application context that does not have a custom bus
(e.g. any http conduit configurations) while the second Spring application/Camel context does
have a custom bus.

The symptom is when the application sends an message to the cxfrs endpoint in the second context
(that contains custom bus), the cxfrs endpoint picks up the wrong bus.  It picks up the default
cxf in the first application context.

Furthermore, this defect only affects cxfrs producer using URI address format. E.g.
  <to uri="cxfrs://https://localhost:8181/CxfRsProducerTest/"/>

It does not affect cxfrs addresses defined as a bean.  E.g.
  <to uri="cxfrs://bean://rsClientHttps"/>
  <cxf:rsClient id="rsClientHttps" address="https://localhost:8181/CxfRsProducerTest/"/>

 


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message