camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anjenson <hotsmileb...@gmail.com>
Subject Re: No component found with schema: jms
Date Tue, 30 Sep 2014 07:30:14 GMT
Hi

I have found the way xml file is looked up in examples (using -ac
argument). However, as I understand it is treated as a main class. But we
already have a main class in the project.
Could you, please, advise if there is another way to make project lookup
that configuration file?


2014-09-29 18:41 GMT+03:00 Claus Ibsen-2 [via Camel] <
ml-node+s465427n5757204h6@n5.nabble.com>:

> On Mon, Sep 29, 2014 at 11:56 AM, Anjenson <[hidden email]
> <http://user/SendEmail.jtp?type=node&node=5757204&i=0>> 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] <
> > [hidden email] <http://user/SendEmail.jtp?type=node&node=5757204&i=1>>:
> >
> >> 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
> >> <
> >> .
> >> 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: [hidden email]
> <http://user/SendEmail.jtp?type=node&node=5757204&i=2>
> 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-tp5757069p5757204.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-tp5757069p5757235.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message