You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Jaiprakash Mewada <ja...@hotwaxsystems.com> on 2019/09/25 10:39:14 UTC

Best approach to deploy camel code as standalone application

Hi Team,

I am beginner in Apache Camel. I have ofbiz code running on different jvm.
I want Camel code to be running on different jvm. I need to send the data
from ofbiz to third party using camel's route.

It looks like I need to run standalone application of Camel. Can someone
please guide me, what is the best possible way to implement this ?

And If I implement separate standalone application, then how would I call
the code of Camel from ofbiz which is running on different jvm ?

-- 
*Thanks & Regards,*
*Jaiprakash Mewada*
Senior Enterprise Software Engineer

*HotWax Systems*

Re: Best approach to deploy camel code as standalone application

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

You need to install the google gson. Its likely a camel-xxx component
you are using, and therefore you need to install that in karaf first
with

feature:install camel-xxx

Where xxx is the component name.

On Fri, Oct 4, 2019 at 3:42 PM Jaiprakash Mewada
<ja...@hotwaxsystems.com> wrote:
>
> Hi Team,
>
> I have created stand alone program in Karaf with Camel code. Somewhere in
> my program, I am using gson to marshal-unmarshal the data. When I am trying
> to start my application with this command: "bundle:start
> mvn:co.hotwax/CamelApplication/1.0.0-SNAPSHOT", I am getting below error.
>
> *Error executing command: Error executing command on bundles: Error
> starting bundle 96: Unable to resolve
> co.hotwax.debug-utils.CamelApplication [96](R 96.0): missing requirement
> [co.hotwax.debug-utils.CamelApplication [96](R 96.0)] osgi.wiring.package;
> (&(osgi.wiring.package=com.google.gson)(version>=2.8.0)(!(version>=3.0.0)))
> Unresolved requirements: [[co.hotwax.debug-utils.CamelApplication [96](R
> 96.0)] osgi.wiring.package;
> (&(osgi.wiring.package=com.google.gson)(version>=2.8.0)(!(version>=3.0.0)))]*
>
> Can someone please guide me to understand this error, what exactly it means.
>
> *Note*: When I am removing the gson code, then program is getting started
> successfully.
>
>
> On Thu, Sep 26, 2019 at 9:45 AM Jean-Baptiste Onofré <jb...@nanthrax.net>
> wrote:
>
> > Hi,
> >
> > As side note, you can run Camel/Ofbiz applications (all together) in
> > Karaf standalone/static distribution:
> >
> > http://blog.nanthrax.net/?p=893
> >
> > Regards
> > JB
> >
> > On 25/09/2019 12:39, Jaiprakash Mewada wrote:
> > > Hi Team,
> > >
> > > I am beginner in Apache Camel. I have ofbiz code running on different
> > jvm.
> > > I want Camel code to be running on different jvm. I need to send the data
> > > from ofbiz to third party using camel's route.
> > >
> > > It looks like I need to run standalone application of Camel. Can someone
> > > please guide me, what is the best possible way to implement this ?
> > >
> > > And If I implement separate standalone application, then how would I call
> > > the code of Camel from ofbiz which is running on different jvm ?
> > >
> >
> > --
> > Jean-Baptiste Onofré
> > jbonofre@apache.org
> > http://blog.nanthrax.net
> > Talend - http://www.talend.com
> >
>
>
> --
> *Thanks & Regards,*
> *Jaiprakash Mewada*
> Senior Enterprise Software Engineer
>
> *HotWax Systems*



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

Re: Best approach to deploy camel code as standalone application

Posted by Jaiprakash Mewada <ja...@hotwaxsystems.com>.
Thanks a lot, Claus :)

On Sun, Oct 6, 2019 at 3:07 PM Claus Ibsen <cl...@gmail.com> wrote:

> Hi
>
> What json-simple are you referring to?
>
> You can see the list of features with features:list
>
> And you can use --help to see command line help, as I think it has
> parameters to filter the list, or pipe to grep
>
> features:list | grep camel
>
>
> On Sat, Oct 5, 2019 at 5:26 PM Jaiprakash Mewada
> <ja...@hotwaxsystems.com> wrote:
> >
> > Thanks, Claus and Jean. It worked :)
> >
> > Similarly, I want to use json-simple also in my application. Do we have
> > command available for json-simple as well ?
> > I tried feature:install camel-json-simple, but it didn't work.
> >
> > On Sat, Oct 5, 2019 at 5:13 PM Jean-Baptiste Onofré <jb...@nanthrax.net>
> wrote:
> >
> > > Hi,
> > >
> > > camel-gson is missing.
> > >
> > > If you use dynamic/standard distribution, you have to do
> feature:install
> > > camel-gson, or add this as boot feature.
> > >
> > > If you use static/immutable distribution, you have to add camel-gson
> > > feature in your pom.xml (in the karaf-maven-plugin configuration).
> > >
> > > Regards
> > > JB
> > >
> > > On 04/10/2019 15:31, Jaiprakash Mewada wrote:
> > > > Hi Team,
> > > >
> > > > I have created stand alone program in Karaf with Camel code.
> Somewhere in
> > > > my program, I am using gson to marshal-unmarshal the data. When I am
> > > trying
> > > > to start my application with this command: "bundle:start
> > > > mvn:co.hotwax/CamelApplication/1.0.0-SNAPSHOT", I am getting below
> error.
> > > >
> > > > *Error executing command: Error executing command on bundles: Error
> > > > starting bundle 96: Unable to resolve
> > > > co.hotwax.debug-utils.CamelApplication [96](R 96.0): missing
> requirement
> > > > [co.hotwax.debug-utils.CamelApplication [96](R 96.0)]
> > > osgi.wiring.package;
> > > >
> > >
> (&(osgi.wiring.package=com.google.gson)(version>=2.8.0)(!(version>=3.0.0)))
> > > > Unresolved requirements: [[co.hotwax.debug-utils.CamelApplication
> [96](R
> > > > 96.0)] osgi.wiring.package;
> > > >
> > >
> (&(osgi.wiring.package=com.google.gson)(version>=2.8.0)(!(version>=3.0.0)))]*
> > > >
> > > > Can someone please guide me to understand this error, what exactly it
> > > means.
> > > >
> > > > *Note*: When I am removing the gson code, then program is getting
> started
> > > > successfully.
> > > >
> > > >
> > > > On Thu, Sep 26, 2019 at 9:45 AM Jean-Baptiste Onofré <
> jb@nanthrax.net>
> > > > wrote:
> > > >
> > > >> Hi,
> > > >>
> > > >> As side note, you can run Camel/Ofbiz applications (all together) in
> > > >> Karaf standalone/static distribution:
> > > >>
> > > >> http://blog.nanthrax.net/?p=893
> > > >>
> > > >> Regards
> > > >> JB
> > > >>
> > > >> On 25/09/2019 12:39, Jaiprakash Mewada wrote:
> > > >>> Hi Team,
> > > >>>
> > > >>> I am beginner in Apache Camel. I have ofbiz code running on
> different
> > > >> jvm.
> > > >>> I want Camel code to be running on different jvm. I need to send
> the
> > > data
> > > >>> from ofbiz to third party using camel's route.
> > > >>>
> > > >>> It looks like I need to run standalone application of Camel. Can
> > > someone
> > > >>> please guide me, what is the best possible way to implement this ?
> > > >>>
> > > >>> And If I implement separate standalone application, then how would
> I
> > > call
> > > >>> the code of Camel from ofbiz which is running on different jvm ?
> > > >>>
> > > >>
> > > >> --
> > > >> Jean-Baptiste Onofré
> > > >> jbonofre@apache.org
> > > >> http://blog.nanthrax.net
> > > >> Talend - http://www.talend.com
> > > >>
> > > >
> > > >
> > >
> > > --
> > > Jean-Baptiste Onofré
> > > jbonofre@apache.org
> > > http://blog.nanthrax.net
> > > Talend - http://www.talend.com
> > >
> >
> >
> > --
> > *Thanks & Regards,*
> > *Jaiprakash Mewada*
> > Senior Enterprise Software Engineer
> >
> > *HotWax Systems*
>
>
>
> --
> Claus Ibsen
> -----------------
> http://davsclaus.com @davsclaus
> Camel in Action 2: https://www.manning.com/ibsen2
>


-- 
*Thanks & Regards,*
*Jaiprakash Mewada*
Senior Enterprise Software Engineer

*HotWax Systems*

Re: Best approach to deploy camel code as standalone application

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

What json-simple are you referring to?

You can see the list of features with features:list

And you can use --help to see command line help, as I think it has
parameters to filter the list, or pipe to grep

features:list | grep camel


On Sat, Oct 5, 2019 at 5:26 PM Jaiprakash Mewada
<ja...@hotwaxsystems.com> wrote:
>
> Thanks, Claus and Jean. It worked :)
>
> Similarly, I want to use json-simple also in my application. Do we have
> command available for json-simple as well ?
> I tried feature:install camel-json-simple, but it didn't work.
>
> On Sat, Oct 5, 2019 at 5:13 PM Jean-Baptiste Onofré <jb...@nanthrax.net> wrote:
>
> > Hi,
> >
> > camel-gson is missing.
> >
> > If you use dynamic/standard distribution, you have to do feature:install
> > camel-gson, or add this as boot feature.
> >
> > If you use static/immutable distribution, you have to add camel-gson
> > feature in your pom.xml (in the karaf-maven-plugin configuration).
> >
> > Regards
> > JB
> >
> > On 04/10/2019 15:31, Jaiprakash Mewada wrote:
> > > Hi Team,
> > >
> > > I have created stand alone program in Karaf with Camel code. Somewhere in
> > > my program, I am using gson to marshal-unmarshal the data. When I am
> > trying
> > > to start my application with this command: "bundle:start
> > > mvn:co.hotwax/CamelApplication/1.0.0-SNAPSHOT", I am getting below error.
> > >
> > > *Error executing command: Error executing command on bundles: Error
> > > starting bundle 96: Unable to resolve
> > > co.hotwax.debug-utils.CamelApplication [96](R 96.0): missing requirement
> > > [co.hotwax.debug-utils.CamelApplication [96](R 96.0)]
> > osgi.wiring.package;
> > >
> > (&(osgi.wiring.package=com.google.gson)(version>=2.8.0)(!(version>=3.0.0)))
> > > Unresolved requirements: [[co.hotwax.debug-utils.CamelApplication [96](R
> > > 96.0)] osgi.wiring.package;
> > >
> > (&(osgi.wiring.package=com.google.gson)(version>=2.8.0)(!(version>=3.0.0)))]*
> > >
> > > Can someone please guide me to understand this error, what exactly it
> > means.
> > >
> > > *Note*: When I am removing the gson code, then program is getting started
> > > successfully.
> > >
> > >
> > > On Thu, Sep 26, 2019 at 9:45 AM Jean-Baptiste Onofré <jb...@nanthrax.net>
> > > wrote:
> > >
> > >> Hi,
> > >>
> > >> As side note, you can run Camel/Ofbiz applications (all together) in
> > >> Karaf standalone/static distribution:
> > >>
> > >> http://blog.nanthrax.net/?p=893
> > >>
> > >> Regards
> > >> JB
> > >>
> > >> On 25/09/2019 12:39, Jaiprakash Mewada wrote:
> > >>> Hi Team,
> > >>>
> > >>> I am beginner in Apache Camel. I have ofbiz code running on different
> > >> jvm.
> > >>> I want Camel code to be running on different jvm. I need to send the
> > data
> > >>> from ofbiz to third party using camel's route.
> > >>>
> > >>> It looks like I need to run standalone application of Camel. Can
> > someone
> > >>> please guide me, what is the best possible way to implement this ?
> > >>>
> > >>> And If I implement separate standalone application, then how would I
> > call
> > >>> the code of Camel from ofbiz which is running on different jvm ?
> > >>>
> > >>
> > >> --
> > >> Jean-Baptiste Onofré
> > >> jbonofre@apache.org
> > >> http://blog.nanthrax.net
> > >> Talend - http://www.talend.com
> > >>
> > >
> > >
> >
> > --
> > Jean-Baptiste Onofré
> > jbonofre@apache.org
> > http://blog.nanthrax.net
> > Talend - http://www.talend.com
> >
>
>
> --
> *Thanks & Regards,*
> *Jaiprakash Mewada*
> Senior Enterprise Software Engineer
>
> *HotWax Systems*



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

Re: Best approach to deploy camel code as standalone application

Posted by Jaiprakash Mewada <ja...@hotwaxsystems.com>.
Thanks, Claus and Jean. It worked :)

Similarly, I want to use json-simple also in my application. Do we have
command available for json-simple as well ?
I tried feature:install camel-json-simple, but it didn't work.

On Sat, Oct 5, 2019 at 5:13 PM Jean-Baptiste Onofré <jb...@nanthrax.net> wrote:

> Hi,
>
> camel-gson is missing.
>
> If you use dynamic/standard distribution, you have to do feature:install
> camel-gson, or add this as boot feature.
>
> If you use static/immutable distribution, you have to add camel-gson
> feature in your pom.xml (in the karaf-maven-plugin configuration).
>
> Regards
> JB
>
> On 04/10/2019 15:31, Jaiprakash Mewada wrote:
> > Hi Team,
> >
> > I have created stand alone program in Karaf with Camel code. Somewhere in
> > my program, I am using gson to marshal-unmarshal the data. When I am
> trying
> > to start my application with this command: "bundle:start
> > mvn:co.hotwax/CamelApplication/1.0.0-SNAPSHOT", I am getting below error.
> >
> > *Error executing command: Error executing command on bundles: Error
> > starting bundle 96: Unable to resolve
> > co.hotwax.debug-utils.CamelApplication [96](R 96.0): missing requirement
> > [co.hotwax.debug-utils.CamelApplication [96](R 96.0)]
> osgi.wiring.package;
> >
> (&(osgi.wiring.package=com.google.gson)(version>=2.8.0)(!(version>=3.0.0)))
> > Unresolved requirements: [[co.hotwax.debug-utils.CamelApplication [96](R
> > 96.0)] osgi.wiring.package;
> >
> (&(osgi.wiring.package=com.google.gson)(version>=2.8.0)(!(version>=3.0.0)))]*
> >
> > Can someone please guide me to understand this error, what exactly it
> means.
> >
> > *Note*: When I am removing the gson code, then program is getting started
> > successfully.
> >
> >
> > On Thu, Sep 26, 2019 at 9:45 AM Jean-Baptiste Onofré <jb...@nanthrax.net>
> > wrote:
> >
> >> Hi,
> >>
> >> As side note, you can run Camel/Ofbiz applications (all together) in
> >> Karaf standalone/static distribution:
> >>
> >> http://blog.nanthrax.net/?p=893
> >>
> >> Regards
> >> JB
> >>
> >> On 25/09/2019 12:39, Jaiprakash Mewada wrote:
> >>> Hi Team,
> >>>
> >>> I am beginner in Apache Camel. I have ofbiz code running on different
> >> jvm.
> >>> I want Camel code to be running on different jvm. I need to send the
> data
> >>> from ofbiz to third party using camel's route.
> >>>
> >>> It looks like I need to run standalone application of Camel. Can
> someone
> >>> please guide me, what is the best possible way to implement this ?
> >>>
> >>> And If I implement separate standalone application, then how would I
> call
> >>> the code of Camel from ofbiz which is running on different jvm ?
> >>>
> >>
> >> --
> >> Jean-Baptiste Onofré
> >> jbonofre@apache.org
> >> http://blog.nanthrax.net
> >> Talend - http://www.talend.com
> >>
> >
> >
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>


-- 
*Thanks & Regards,*
*Jaiprakash Mewada*
Senior Enterprise Software Engineer

*HotWax Systems*

Re: Best approach to deploy camel code as standalone application

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,

camel-gson is missing.

If you use dynamic/standard distribution, you have to do feature:install
camel-gson, or add this as boot feature.

If you use static/immutable distribution, you have to add camel-gson
feature in your pom.xml (in the karaf-maven-plugin configuration).

Regards
JB

On 04/10/2019 15:31, Jaiprakash Mewada wrote:
> Hi Team,
> 
> I have created stand alone program in Karaf with Camel code. Somewhere in
> my program, I am using gson to marshal-unmarshal the data. When I am trying
> to start my application with this command: "bundle:start
> mvn:co.hotwax/CamelApplication/1.0.0-SNAPSHOT", I am getting below error.
> 
> *Error executing command: Error executing command on bundles: Error
> starting bundle 96: Unable to resolve
> co.hotwax.debug-utils.CamelApplication [96](R 96.0): missing requirement
> [co.hotwax.debug-utils.CamelApplication [96](R 96.0)] osgi.wiring.package;
> (&(osgi.wiring.package=com.google.gson)(version>=2.8.0)(!(version>=3.0.0)))
> Unresolved requirements: [[co.hotwax.debug-utils.CamelApplication [96](R
> 96.0)] osgi.wiring.package;
> (&(osgi.wiring.package=com.google.gson)(version>=2.8.0)(!(version>=3.0.0)))]*
> 
> Can someone please guide me to understand this error, what exactly it means.
> 
> *Note*: When I am removing the gson code, then program is getting started
> successfully.
> 
> 
> On Thu, Sep 26, 2019 at 9:45 AM Jean-Baptiste Onofré <jb...@nanthrax.net>
> wrote:
> 
>> Hi,
>>
>> As side note, you can run Camel/Ofbiz applications (all together) in
>> Karaf standalone/static distribution:
>>
>> http://blog.nanthrax.net/?p=893
>>
>> Regards
>> JB
>>
>> On 25/09/2019 12:39, Jaiprakash Mewada wrote:
>>> Hi Team,
>>>
>>> I am beginner in Apache Camel. I have ofbiz code running on different
>> jvm.
>>> I want Camel code to be running on different jvm. I need to send the data
>>> from ofbiz to third party using camel's route.
>>>
>>> It looks like I need to run standalone application of Camel. Can someone
>>> please guide me, what is the best possible way to implement this ?
>>>
>>> And If I implement separate standalone application, then how would I call
>>> the code of Camel from ofbiz which is running on different jvm ?
>>>
>>
>> --
>> Jean-Baptiste Onofré
>> jbonofre@apache.org
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
> 
> 

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Best approach to deploy camel code as standalone application

Posted by Jaiprakash Mewada <ja...@hotwaxsystems.com>.
Hi Team,

I have created stand alone program in Karaf with Camel code. Somewhere in
my program, I am using gson to marshal-unmarshal the data. When I am trying
to start my application with this command: "bundle:start
mvn:co.hotwax/CamelApplication/1.0.0-SNAPSHOT", I am getting below error.

*Error executing command: Error executing command on bundles: Error
starting bundle 96: Unable to resolve
co.hotwax.debug-utils.CamelApplication [96](R 96.0): missing requirement
[co.hotwax.debug-utils.CamelApplication [96](R 96.0)] osgi.wiring.package;
(&(osgi.wiring.package=com.google.gson)(version>=2.8.0)(!(version>=3.0.0)))
Unresolved requirements: [[co.hotwax.debug-utils.CamelApplication [96](R
96.0)] osgi.wiring.package;
(&(osgi.wiring.package=com.google.gson)(version>=2.8.0)(!(version>=3.0.0)))]*

Can someone please guide me to understand this error, what exactly it means.

*Note*: When I am removing the gson code, then program is getting started
successfully.


On Thu, Sep 26, 2019 at 9:45 AM Jean-Baptiste Onofré <jb...@nanthrax.net>
wrote:

> Hi,
>
> As side note, you can run Camel/Ofbiz applications (all together) in
> Karaf standalone/static distribution:
>
> http://blog.nanthrax.net/?p=893
>
> Regards
> JB
>
> On 25/09/2019 12:39, Jaiprakash Mewada wrote:
> > Hi Team,
> >
> > I am beginner in Apache Camel. I have ofbiz code running on different
> jvm.
> > I want Camel code to be running on different jvm. I need to send the data
> > from ofbiz to third party using camel's route.
> >
> > It looks like I need to run standalone application of Camel. Can someone
> > please guide me, what is the best possible way to implement this ?
> >
> > And If I implement separate standalone application, then how would I call
> > the code of Camel from ofbiz which is running on different jvm ?
> >
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>


-- 
*Thanks & Regards,*
*Jaiprakash Mewada*
Senior Enterprise Software Engineer

*HotWax Systems*

Re: Best approach to deploy camel code as standalone application

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,

As side note, you can run Camel/Ofbiz applications (all together) in
Karaf standalone/static distribution:

http://blog.nanthrax.net/?p=893

Regards
JB

On 25/09/2019 12:39, Jaiprakash Mewada wrote:
> Hi Team,
> 
> I am beginner in Apache Camel. I have ofbiz code running on different jvm.
> I want Camel code to be running on different jvm. I need to send the data
> from ofbiz to third party using camel's route.
> 
> It looks like I need to run standalone application of Camel. Can someone
> please guide me, what is the best possible way to implement this ?
> 
> And If I implement separate standalone application, then how would I call
> the code of Camel from ofbiz which is running on different jvm ?
> 

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Best approach to deploy camel code as standalone application

Posted by Claus Ibsen <cl...@gmail.com>.
On Wed, Sep 25, 2019 at 6:24 PM Jaiprakash Mewada
<ja...@hotwaxsystems.com> wrote:
>
> Yes, I saw this example. With the help of this, we can integrate Camel code
> with OFBiz but it will run on same jvm.
>
> I want to run OFBiz and Camel code separately on different jvm.
>

Then you need some remote protocol, whether it's http or binary based.
There are no ofbiz component in camel that does this out of the box.

You can for example have some rest http service in ofbiz and let camel use that.

> On Wed, 25 Sep 2019, 7:36 p.m. Andrea Cosentino, <an...@gmail.com> wrote:
>
> > Have you seen this project? https://github.com/bibryam/ofbiz-camel
> >
> > Il giorno mer 25 set 2019 alle ore 14:50 Jaiprakash Mewada <
> > jaiprakash.mewada@hotwaxsystems.com> ha scritto:
> >
> > > Thanks Omar for quick response.
> > >
> > > I have already checked the documentation. But I am not able to understand
> > > that how can I call the code of Camel from ofbiz which is running on
> > > different jvm.
> > >
> > > Assume, I have method add() which is having the camel code. Is there any
> > > way to call this method from OFBiz.
> > >
> > > On Wed, Sep 25, 2019 at 4:32 PM Omar Al-Safi <om...@gmail.com> wrote:
> > >
> > > > The best way is to follow the documentation in this regards:
> > > >
> > https://camel.apache.org/manual/latest/faq/running-camel-standalone.html
> > > .
> > > > And this is an example for a standalone Camel application:
> > > >
> > > >
> > >
> > https://github.com/apache/camel/blob/master/examples/camel-example-debezium/src/main/java/org/apache/camel/example/debezium/DebeziumMySqlConsumerToKinesis.java
> > > >
> > > > Regards,
> > > > Omar
> > > >
> > > > On Wed, 25 Sep 2019 at 12:39, Jaiprakash Mewada <
> > > > jaiprakash.mewada@hotwaxsystems.com> wrote:
> > > >
> > > > > Hi Team,
> > > > >
> > > > > I am beginner in Apache Camel. I have ofbiz code running on different
> > > > jvm.
> > > > > I want Camel code to be running on different jvm. I need to send the
> > > data
> > > > > from ofbiz to third party using camel's route.
> > > > >
> > > > > It looks like I need to run standalone application of Camel. Can
> > > someone
> > > > > please guide me, what is the best possible way to implement this ?
> > > > >
> > > > > And If I implement separate standalone application, then how would I
> > > call
> > > > > the code of Camel from ofbiz which is running on different jvm ?
> > > > >
> > > > > --
> > > > > *Thanks & Regards,*
> > > > > *Jaiprakash Mewada*
> > > > > Senior Enterprise Software Engineer
> > > > >
> > > > > *HotWax Systems*
> > > > >
> > > >
> > >
> > >
> > > --
> > > *Thanks & Regards,*
> > > *Jaiprakash Mewada*
> > > Senior Enterprise Software Engineer
> > >
> > > *HotWax Systems*
> > >
> >



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

Re: Best approach to deploy camel code as standalone application

Posted by Jaiprakash Mewada <ja...@hotwaxsystems.com>.
Yes, I saw this example. With the help of this, we can integrate Camel code
with OFBiz but it will run on same jvm.

I want to run OFBiz and Camel code separately on different jvm.

On Wed, 25 Sep 2019, 7:36 p.m. Andrea Cosentino, <an...@gmail.com> wrote:

> Have you seen this project? https://github.com/bibryam/ofbiz-camel
>
> Il giorno mer 25 set 2019 alle ore 14:50 Jaiprakash Mewada <
> jaiprakash.mewada@hotwaxsystems.com> ha scritto:
>
> > Thanks Omar for quick response.
> >
> > I have already checked the documentation. But I am not able to understand
> > that how can I call the code of Camel from ofbiz which is running on
> > different jvm.
> >
> > Assume, I have method add() which is having the camel code. Is there any
> > way to call this method from OFBiz.
> >
> > On Wed, Sep 25, 2019 at 4:32 PM Omar Al-Safi <om...@gmail.com> wrote:
> >
> > > The best way is to follow the documentation in this regards:
> > >
> https://camel.apache.org/manual/latest/faq/running-camel-standalone.html
> > .
> > > And this is an example for a standalone Camel application:
> > >
> > >
> >
> https://github.com/apache/camel/blob/master/examples/camel-example-debezium/src/main/java/org/apache/camel/example/debezium/DebeziumMySqlConsumerToKinesis.java
> > >
> > > Regards,
> > > Omar
> > >
> > > On Wed, 25 Sep 2019 at 12:39, Jaiprakash Mewada <
> > > jaiprakash.mewada@hotwaxsystems.com> wrote:
> > >
> > > > Hi Team,
> > > >
> > > > I am beginner in Apache Camel. I have ofbiz code running on different
> > > jvm.
> > > > I want Camel code to be running on different jvm. I need to send the
> > data
> > > > from ofbiz to third party using camel's route.
> > > >
> > > > It looks like I need to run standalone application of Camel. Can
> > someone
> > > > please guide me, what is the best possible way to implement this ?
> > > >
> > > > And If I implement separate standalone application, then how would I
> > call
> > > > the code of Camel from ofbiz which is running on different jvm ?
> > > >
> > > > --
> > > > *Thanks & Regards,*
> > > > *Jaiprakash Mewada*
> > > > Senior Enterprise Software Engineer
> > > >
> > > > *HotWax Systems*
> > > >
> > >
> >
> >
> > --
> > *Thanks & Regards,*
> > *Jaiprakash Mewada*
> > Senior Enterprise Software Engineer
> >
> > *HotWax Systems*
> >
>

Re: Best approach to deploy camel code as standalone application

Posted by Andrea Cosentino <an...@gmail.com>.
Have you seen this project? https://github.com/bibryam/ofbiz-camel

Il giorno mer 25 set 2019 alle ore 14:50 Jaiprakash Mewada <
jaiprakash.mewada@hotwaxsystems.com> ha scritto:

> Thanks Omar for quick response.
>
> I have already checked the documentation. But I am not able to understand
> that how can I call the code of Camel from ofbiz which is running on
> different jvm.
>
> Assume, I have method add() which is having the camel code. Is there any
> way to call this method from OFBiz.
>
> On Wed, Sep 25, 2019 at 4:32 PM Omar Al-Safi <om...@gmail.com> wrote:
>
> > The best way is to follow the documentation in this regards:
> > https://camel.apache.org/manual/latest/faq/running-camel-standalone.html
> .
> > And this is an example for a standalone Camel application:
> >
> >
> https://github.com/apache/camel/blob/master/examples/camel-example-debezium/src/main/java/org/apache/camel/example/debezium/DebeziumMySqlConsumerToKinesis.java
> >
> > Regards,
> > Omar
> >
> > On Wed, 25 Sep 2019 at 12:39, Jaiprakash Mewada <
> > jaiprakash.mewada@hotwaxsystems.com> wrote:
> >
> > > Hi Team,
> > >
> > > I am beginner in Apache Camel. I have ofbiz code running on different
> > jvm.
> > > I want Camel code to be running on different jvm. I need to send the
> data
> > > from ofbiz to third party using camel's route.
> > >
> > > It looks like I need to run standalone application of Camel. Can
> someone
> > > please guide me, what is the best possible way to implement this ?
> > >
> > > And If I implement separate standalone application, then how would I
> call
> > > the code of Camel from ofbiz which is running on different jvm ?
> > >
> > > --
> > > *Thanks & Regards,*
> > > *Jaiprakash Mewada*
> > > Senior Enterprise Software Engineer
> > >
> > > *HotWax Systems*
> > >
> >
>
>
> --
> *Thanks & Regards,*
> *Jaiprakash Mewada*
> Senior Enterprise Software Engineer
>
> *HotWax Systems*
>

Re: Best approach to deploy camel code as standalone application

Posted by Jaiprakash Mewada <ja...@hotwaxsystems.com>.
Thanks Omar for quick response.

I have already checked the documentation. But I am not able to understand
that how can I call the code of Camel from ofbiz which is running on
different jvm.

Assume, I have method add() which is having the camel code. Is there any
way to call this method from OFBiz.

On Wed, Sep 25, 2019 at 4:32 PM Omar Al-Safi <om...@gmail.com> wrote:

> The best way is to follow the documentation in this regards:
> https://camel.apache.org/manual/latest/faq/running-camel-standalone.html.
> And this is an example for a standalone Camel application:
>
> https://github.com/apache/camel/blob/master/examples/camel-example-debezium/src/main/java/org/apache/camel/example/debezium/DebeziumMySqlConsumerToKinesis.java
>
> Regards,
> Omar
>
> On Wed, 25 Sep 2019 at 12:39, Jaiprakash Mewada <
> jaiprakash.mewada@hotwaxsystems.com> wrote:
>
> > Hi Team,
> >
> > I am beginner in Apache Camel. I have ofbiz code running on different
> jvm.
> > I want Camel code to be running on different jvm. I need to send the data
> > from ofbiz to third party using camel's route.
> >
> > It looks like I need to run standalone application of Camel. Can someone
> > please guide me, what is the best possible way to implement this ?
> >
> > And If I implement separate standalone application, then how would I call
> > the code of Camel from ofbiz which is running on different jvm ?
> >
> > --
> > *Thanks & Regards,*
> > *Jaiprakash Mewada*
> > Senior Enterprise Software Engineer
> >
> > *HotWax Systems*
> >
>


-- 
*Thanks & Regards,*
*Jaiprakash Mewada*
Senior Enterprise Software Engineer

*HotWax Systems*

Re: Best approach to deploy camel code as standalone application

Posted by Omar Al-Safi <om...@gmail.com>.
The best way is to follow the documentation in this regards:
https://camel.apache.org/manual/latest/faq/running-camel-standalone.html.
And this is an example for a standalone Camel application:
https://github.com/apache/camel/blob/master/examples/camel-example-debezium/src/main/java/org/apache/camel/example/debezium/DebeziumMySqlConsumerToKinesis.java

Regards,
Omar

On Wed, 25 Sep 2019 at 12:39, Jaiprakash Mewada <
jaiprakash.mewada@hotwaxsystems.com> wrote:

> Hi Team,
>
> I am beginner in Apache Camel. I have ofbiz code running on different jvm.
> I want Camel code to be running on different jvm. I need to send the data
> from ofbiz to third party using camel's route.
>
> It looks like I need to run standalone application of Camel. Can someone
> please guide me, what is the best possible way to implement this ?
>
> And If I implement separate standalone application, then how would I call
> the code of Camel from ofbiz which is running on different jvm ?
>
> --
> *Thanks & Regards,*
> *Jaiprakash Mewada*
> Senior Enterprise Software Engineer
>
> *HotWax Systems*
>