You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Lukasz Lichota <Lu...@sabre.com> on 2010/03/02 12:07:31 UTC

Camel-CXF unknown protocol local

Hi guys,

I tried to use CXF local transport in Camel 2.2.0-fuse-... like this
"from("cxf:local://test... " and I got MalformedUrlException "uknown
protocol local". In one of the previous versions of Camel (I guess
2.0-SNAPSHOT) that syntax worked fine. 
Are you aware of any changes? Has the syntax changed or is this transport
not supported any more?

regards
Lukasz
-- 
View this message in context: http://old.nabble.com/Camel-CXF-unknown-protocol-local-tp27754582p27754582.html
Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.


Re: Camel-CXF unknown protocol local

Posted by Lukasz Lichota <Lu...@sabre.com>.
Thanks for hint - adding the jar helped.

For OSGi - I used local transport only in junit test


willem.jiang wrote:
> 
> Yeah Stephen pointed out the possible solution.
> Can we have a look at you route configuration?
> BTW, did you deploy the camel route into OSGi platform (such as 
> ServiceMix 4) ?
> 
> Willem
> 
> Stephen Gargan wrote:
>> Sounds like the transport is missing. Is the cxf-rt-transports-local
>> jar is in your classpath? Do you import the transport correctly e.g.
>> 
>> <import resource="classpath:META-INF/cxf/cxf-extension-local.xml" />
>> 
>> 
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Camel-CXF-unknown-protocol-local-tp27754582p27768719.html
Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.


Re: Camel-CXF unknown protocol local

Posted by Willem Jiang <wi...@gmail.com>.
Yeah Stephen pointed out the possible solution.
Can we have a look at you route configuration?
BTW, did you deploy the camel route into OSGi platform (such as 
ServiceMix 4) ?

Willem

Stephen Gargan wrote:
> Sounds like the transport is missing. Is the cxf-rt-transports-local
> jar is in your classpath? Do you import the transport correctly e.g.
> 
> <import resource="classpath:META-INF/cxf/cxf-extension-local.xml" />
> 
> 
> On Tue, Mar 2, 2010 at 11:07 AM, Lukasz Lichota
> <Lu...@sabre.com> wrote:
>> Hi guys,
>>
>> I tried to use CXF local transport in Camel 2.2.0-fuse-... like this
>> "from("cxf:local://test... " and I got MalformedUrlException "uknown
>> protocol local". In one of the previous versions of Camel (I guess
>> 2.0-SNAPSHOT) that syntax worked fine.
>> Are you aware of any changes? Has the syntax changed or is this transport
>> not supported any more?
>>
>> regards
>> Lukasz
>> --
>> View this message in context: http://old.nabble.com/Camel-CXF-unknown-protocol-local-tp27754582p27754582.html
>> Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.
>>
>>
> 


Re: Camel-CXF unknown protocol local

Posted by Stephen Gargan <st...@gmail.com>.
Sounds like the transport is missing. Is the cxf-rt-transports-local
jar is in your classpath? Do you import the transport correctly e.g.

<import resource="classpath:META-INF/cxf/cxf-extension-local.xml" />


On Tue, Mar 2, 2010 at 11:07 AM, Lukasz Lichota
<Lu...@sabre.com> wrote:
>
> Hi guys,
>
> I tried to use CXF local transport in Camel 2.2.0-fuse-... like this
> "from("cxf:local://test... " and I got MalformedUrlException "uknown
> protocol local". In one of the previous versions of Camel (I guess
> 2.0-SNAPSHOT) that syntax worked fine.
> Are you aware of any changes? Has the syntax changed or is this transport
> not supported any more?
>
> regards
> Lukasz
> --
> View this message in context: http://old.nabble.com/Camel-CXF-unknown-protocol-local-tp27754582p27754582.html
> Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.
>
>