On Mon, Sep 29, 2014 at 11:56 AM, Anjenson <hotsmileb...@gmail.com> wrote:
> Hi
>
> I have tried to switch to ActiveMQ just as shown in camel spring-jms
> example. However, it didn't help.
> Can this be due to the fact that I didn't use features.xml?

features.xml is when you use OSGi such as Apache Karaf / ServiceMix /
JBoss Fuse etc.

You can run Camel in a standalone ActiveMQ also.



>
> 2014-09-29 11:33 GMT+03:00 Claus Ibsen-2 [via Camel] <
> ml-node+s465427n5757182...@n5.nabble.com>:
>
>> When you use Spring, eg define <camelContext> in a spring xml file,
>> then you define it the usual spring way - whatever ways you can do in
>> Spring.
>>
>> Camel just lookup in the spring application context to find the beans.
>> - in this case lookup by name, to fine a bean with name "jms" etc.
>>
>>
>> On Mon, Sep 29, 2014 at 10:17 AM, Anjenson <[hidden email]
>> <http://user/SendEmail.jtp?type=node&node=5757182&i=0>> wrote:
>>
>> > Hi
>> >
>> > I have went through many examples but they usually are the same. But I
>> have
>> > noticed that when initializing  connection in code we also need to add a
>> > component to context.
>> > Could you, please, explain how to do that in xml file?
>> >
>> >
>> >
>> > --
>> > View this message in context:
>> http://camel.465427.n5.nabble.com/No-component-found-with-schema-jms-tp5757069p5757181.html
>> > Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>>
>>
>> --
>> Claus Ibsen
>> -----------------
>> Red Hat, Inc.
>> Email: [hidden email]
>> <http://user/SendEmail.jtp?type=node&node=5757182&i=1>
>> Twitter: davsclaus
>> Blog: http://davsclaus.com
>> Author of Camel in Action: http://www.manning.com/ibsen
>> hawtio: http://hawt.io/
>> fabric8: http://fabric8.io/
>>
>>
>> ------------------------------
>>  If you reply to this email, your message will be added to the discussion
>> below:
>>
>> http://camel.465427.n5.nabble.com/No-component-found-with-schema-jms-tp5757069p5757182.html
>>  To unsubscribe from No component found with schema: jms, click here
>> <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5757069&code=aG90c21pbGViYW5kQGdtYWlsLmNvbXw1NzU3MDY5fDM2MjE1NDMzMQ==>
>> .
>> NAML
>> <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/No-component-found-with-schema-jms-tp5757069p5757185.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Reply via email to