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é <[email protected]> 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é <[email protected]>
> > 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é
> >> [email protected]
> >> http://blog.nanthrax.net
> >> Talend - http://www.talend.com
> >>
> >
> >
>
> --
> Jean-Baptiste Onofré
> [email protected]
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>


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

*HotWax Systems*

Reply via email to