Using SIMPLE JMS2 COMPONENT in SpringBoot+Camel Project

classic Classic list List threaded Threaded
6 messages Options
W.Y
Reply | Threaded
Open this post in threaded view
|

Using SIMPLE JMS2 COMPONENT in SpringBoot+Camel Project

W.Y
I am currently using camel + Springboot for my project

I also want to use camel sjms2 component

my question is

I already used camel-spring-boot-starter in project's dependency for
springboot auto configuration.

Do I also need to add camel-sjms2-starter in dependency as well?

My gut feeling is camel-spring-boot-starter should
automatically includes another camel component's starter
when it is needed for springboot auto configuration.

But in sjms2 document , it suggests to add
camel-sjms2-starter for springboot project,
See document link below
https://camel.apache.org/staging/components/latest/sjms2-component.html

Any suggestions are more than welcome!

W.Y
Reply | Threaded
Open this post in threaded view
|

Re: Using SIMPLE JMS2 COMPONENT in SpringBoot+Camel Project

Claus Ibsen-2
You need to use the -starter JARs also for other components.

On Sat, Aug 3, 2019 at 9:38 AM Wang Yan <[hidden email]> wrote:

>
> I am currently using camel + Springboot for my project
>
> I also want to use camel sjms2 component
>
> my question is
>
> I already used camel-spring-boot-starter in project's dependency for
> springboot auto configuration.
>
> Do I also need to add camel-sjms2-starter in dependency as well?
>
> My gut feeling is camel-spring-boot-starter should
> automatically includes another camel component's starter
> when it is needed for springboot auto configuration.
>
> But in sjms2 document , it suggests to add
> camel-sjms2-starter for springboot project,
> See document link below
> https://camel.apache.org/staging/components/latest/sjms2-component.html
>
> Any suggestions are more than welcome!
>
> W.Y



--
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2
W.Y
Reply | Threaded
Open this post in threaded view
|

Fwd: Using SIMPLE JMS2 COMPONENT in SpringBoot+Camel Project

W.Y
In reply to this post by W.Y
@Claus,

For example when i use activemq + camel+springboot

there are two starters  camel-activemq-starter and
spring-boot-starter-activemq
do i need both of them? or just spring-boot-starter-activemq ?

Thanks and Rgds

On Mon, Aug 19, 2019 at 9:27 PM W.Y [via Camel] <
[hidden email]> wrote:

> I am currently using camel + Springboot for my project
>
> I also want to use camel sjms2 component
>
> my question is
>
> I already used camel-spring-boot-starter in project's dependency for
> springboot auto configuration.
>
> Do I also need to add camel-sjms2-starter in dependency as well?
>
> My gut feeling is camel-spring-boot-starter should
> automatically includes another camel component's starter
> when it is needed for springboot auto configuration.
>
> But in sjms2 document , it suggests to add
> camel-sjms2-starter for springboot project,
> See document link below
> https://camel.apache.org/staging/components/latest/sjms2-component.html
>
> Any suggestions are more than welcome!
>
> W.Y
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> https://camel.465427.n5.nabble.com/Using-SIMPLE-JMS2-COMPONENT-in-SpringBoot-Camel-Project-tp5840374p5841412.html
> To unsubscribe from Using SIMPLE JMS2 COMPONENT in SpringBoot+Camel
> Project, click here
> <https://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5840374&code=d3lhbmJveEBnbWFpbC5jb218NTg0MDM3NHwxMTU1MzAzODM=>
> .
> NAML
> <https://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>
>
Reply | Threaded
Open this post in threaded view
|

Re: Using SIMPLE JMS2 COMPONENT in SpringBoot+Camel Project

Claus Ibsen-2
In reply to this post by W.Y
Yes you need camel-sjms2-starter since you use that component.


On Sat, Aug 3, 2019 at 9:38 AM Wang Yan <[hidden email]> wrote:

>
> I am currently using camel + Springboot for my project
>
> I also want to use camel sjms2 component
>
> my question is
>
> I already used camel-spring-boot-starter in project's dependency for
> springboot auto configuration.
>
> Do I also need to add camel-sjms2-starter in dependency as well?
>
> My gut feeling is camel-spring-boot-starter should
> automatically includes another camel component's starter
> when it is needed for springboot auto configuration.
>
> But in sjms2 document , it suggests to add
> camel-sjms2-starter for springboot project,
> See document link below
> https://camel.apache.org/staging/components/latest/sjms2-component.html
>
> Any suggestions are more than welcome!
>
> W.Y



--
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2
W.Y
Reply | Threaded
Open this post in threaded view
|

Re: Using SIMPLE JMS2 COMPONENT in SpringBoot+Camel Project

W.Y
Hello Claus,
Thanks for your reply. My question is
For ActiveMQ, there are two starters  camel-activemq-starter and
spring-boot-starter-activemq
Do i need both of them? or just one from them? If just one, which one
should I use?

Thanks and Rgds
W.Y

On Wed, Aug 21, 2019 at 7:11 AM Claus Ibsen-2 [via Camel] <
[hidden email]> wrote:

> Yes you need camel-sjms2-starter since you use that component.
>
>
> On Sat, Aug 3, 2019 at 9:38 AM Wang Yan <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=5841561&i=0>> wrote:
>
> >
> > I am currently using camel + Springboot for my project
> >
> > I also want to use camel sjms2 component
> >
> > my question is
> >
> > I already used camel-spring-boot-starter in project's dependency for
> > springboot auto configuration.
> >
> > Do I also need to add camel-sjms2-starter in dependency as well?
> >
> > My gut feeling is camel-spring-boot-starter should
> > automatically includes another camel component's starter
> > when it is needed for springboot auto configuration.
> >
> > But in sjms2 document , it suggests to add
> > camel-sjms2-starter for springboot project,
> > See document link below
> > https://camel.apache.org/staging/components/latest/sjms2-component.html
> >
> > Any suggestions are more than welcome!
> >
> > W.Y
>
>
>
> --
> Claus Ibsen
> -----------------
> http://davsclaus.com @davsclaus
> Camel in Action 2: https://www.manning.com/ibsen2
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> https://camel.465427.n5.nabble.com/Using-SIMPLE-JMS2-COMPONENT-in-SpringBoot-Camel-Project-tp5840374p5841561.html
> To unsubscribe from Using SIMPLE JMS2 COMPONENT in SpringBoot+Camel
> Project, click here
> <https://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5840374&code=d3lhbmJveEBnbWFpbC5jb218NTg0MDM3NHwxMTU1MzAzODM=>
> .
> NAML
> <https://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>
>
Reply | Threaded
Open this post in threaded view
|

Re: Using SIMPLE JMS2 COMPONENT in SpringBoot+Camel Project

Claus Ibsen-2
spring-boot-activemq as you are using the camel-sjms2-starter.

camel-activemq-starter is for the jms component that has been adjusted
for activemq

On Wed, Aug 21, 2019 at 11:16 AM Wang Yan <[hidden email]> wrote:

>
> Hello Claus,
> Thanks for your reply. My question is
> For ActiveMQ, there are two starters  camel-activemq-starter and
> spring-boot-starter-activemq
> Do i need both of them? or just one from them? If just one, which one
> should I use?
>
> Thanks and Rgds
> W.Y
>
> On Wed, Aug 21, 2019 at 7:11 AM Claus Ibsen-2 [via Camel] <
> [hidden email]> wrote:
>
> > Yes you need camel-sjms2-starter since you use that component.
> >
> >
> > On Sat, Aug 3, 2019 at 9:38 AM Wang Yan <[hidden email]
> > <http:///user/SendEmail.jtp?type=node&node=5841561&i=0>> wrote:
> >
> > >
> > > I am currently using camel + Springboot for my project
> > >
> > > I also want to use camel sjms2 component
> > >
> > > my question is
> > >
> > > I already used camel-spring-boot-starter in project's dependency for
> > > springboot auto configuration.
> > >
> > > Do I also need to add camel-sjms2-starter in dependency as well?
> > >
> > > My gut feeling is camel-spring-boot-starter should
> > > automatically includes another camel component's starter
> > > when it is needed for springboot auto configuration.
> > >
> > > But in sjms2 document , it suggests to add
> > > camel-sjms2-starter for springboot project,
> > > See document link below
> > > https://camel.apache.org/staging/components/latest/sjms2-component.html
> > >
> > > Any suggestions are more than welcome!
> > >
> > > W.Y
> >
> >
> >
> > --
> > Claus Ibsen
> > -----------------
> > http://davsclaus.com @davsclaus
> > Camel in Action 2: https://www.manning.com/ibsen2
> >
> >
> > ------------------------------
> > If you reply to this email, your message will be added to the discussion
> > below:
> >
> > https://camel.465427.n5.nabble.com/Using-SIMPLE-JMS2-COMPONENT-in-SpringBoot-Camel-Project-tp5840374p5841561.html
> > To unsubscribe from Using SIMPLE JMS2 COMPONENT in SpringBoot+Camel
> > Project, click here
> > <https://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5840374&code=d3lhbmJveEBnbWFpbC5jb218NTg0MDM3NHwxMTU1MzAzODM=>
> > .
> > NAML
> > <https://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>
> >



--
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2