You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2009/11/17 15:47:52 UTC

[jira] Created: (CAMEL-2185) export the META-INF.cxf for cxf user to load the camel transport component

export the META-INF.cxf for cxf user to load the camel transport component
--------------------------------------------------------------------------

                 Key: CAMEL-2185
                 URL: https://issues.apache.org/activemq/browse/CAMEL-2185
             Project: Apache Camel
          Issue Type: Improvement
            Reporter: Willem Jiang
            Assignee: Willem Jiang
             Fix For: 2.1.0


If the CXF user want to use the camel-transport component in OSGi platform, he may need to import META-INF.cxf package.
But current camel-cxf bundle doesn't export this package.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-2185) export the META-INF.cxf for cxf user to load the camel transport component

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-2185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55525#action_55525 ] 

Willem Jiang commented on CAMEL-2185:
-------------------------------------

Here is a way if you want to use camel transport without import the cxf-extension-camel.xml, you can inject the camel context like this
{code}

    <bean class="org.apache.camel.component.cxf.transport.CamelTransportFactory" lazy-init="false">
		<property name="bus" ref="cxf" />
		<property name="camelContext" ref="camelContext" />
		<property name="transportIds">
			<list>
				<value>http://cxf.apache.org/transports/camel</value>
			</list>
		</property>
	</bean>

	<camelContext id="camelContext" xmlns="http://camel.apache.org/schema/spring">
		<route>
			<from uri="jetty:http://localhost:9091/GreeterContext/GreeterPort" />
			<loadBalance ref="roundRobinRef">
				<to uri="direct:EndpointA" />
				<to uri="direct:EndpointB" />
			</loadBalance>
		</route>
	</camelContext>

{code}

> export the META-INF.cxf for cxf user to load the camel transport component
> --------------------------------------------------------------------------
>
>                 Key: CAMEL-2185
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2185
>             Project: Apache Camel
>          Issue Type: Improvement
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.1.0
>
>
> If the CXF user want to use the camel-transport component in OSGi platform, he may need to import META-INF.cxf package.
> But current camel-cxf bundle doesn't export this package.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CAMEL-2185) export the META-INF.cxf for cxf user to load the camel transport component

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-2185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang resolved CAMEL-2185.
---------------------------------

    Resolution: Fixed

http://svn.apache.org/viewvc?rev=881692&view=rev

> export the META-INF.cxf for cxf user to load the camel transport component
> --------------------------------------------------------------------------
>
>                 Key: CAMEL-2185
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2185
>             Project: Apache Camel
>          Issue Type: Improvement
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.1.0
>
>
> If the CXF user want to use the camel-transport component in OSGi platform, he may need to import META-INF.cxf package.
> But current camel-cxf bundle doesn't export this package.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.