esigned when you use toD then you use the simple language
> that
> > are literal/string based.
> > Avoid all the method overload complexity and just use a new method name.
> >
> >
> >
> > On Mon, Feb 10, 2025 at 8:08 AM logesh wrote:
> >
> > >
method overload complexity and just use a new method name.
>
>
>
> On Mon, Feb 10, 2025 at 8:08 AM logesh wrote:
>
> > Hi,
> >
> > We have another issue with camel bean and methid invocation but this
> time
> > its on the bean menthod invocation thats done
Hi
This is as designed when you use toD then you use the simple language that
are literal/string based.
Avoid all the method overload complexity and just use a new method name.
On Mon, Feb 10, 2025 at 8:08 AM logesh wrote:
> Hi,
>
> We have another issue with camel bean and methid i
Hi,
We have another issue with camel bean and methid invocation but this time
its on the bean menthod invocation thats done thru toD uri. Calling a bean
method using the below snippet works when access the header stored
properties .the property1 in headers gets resolved to the custom class type
Hi
Sounds a bit complex, but you are welcome to create a JIRA.
And provide some sample code that demonstrates this. Or see if you dare to
add some kind of unit test that reproduces this, and works with your fix.
On Fri, Jul 5, 2024 at 5:33 PM logesh wrote:
> I am trying to use bean with refer
I am trying to use bean with reference and method call.The bean has
overloaded methods and hence it is being called in this way.The below
method call was populated with parameter type and value in reference to the
guidanct provided in here.
https://camel.apache.org/manual/bean-binding.html#_declar
n my camel route.
Thanks,
Vinoth.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-Bean-binding-tp5781444.html
Sent from the Camel - Users mailing list archive at Nabble.com.
--
> View this message in context:
> http://camel.465427.n5.nabble.com/Apache-Camel-bean-parameter-binding-issue-with-Spring-DSL-tp5772200p5781114.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibsen
-
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2
there is a
header with name "note" that does contain a non null value.
--
View this message in context:
http://camel.465427.n5.nabble.com/Apache-Camel-bean-parameter-binding-issue-with-Spring-DSL-tp5772200p5781114.html
Sent from the Camel - Users mailing list archive at Nabble.com.
What Camel version did you use?
And can you show the example?
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Apache-Camel-bean-parameter-binding-issue-with-Spring-DSL-tp5772200p5781069.html
> Sent from the Camel - Users mailing list archive at
-Camel-bean-parameter-binding-issue-with-Spring-DSL-tp5772200p5781069.html
Sent from the Camel - Users mailing list archive at Nabble.com.
So effectively you are suggesting to always use jpa: uri in the camel route
for all my database access part, and to avoid injecting entity manager in a
camel bean. Means I will have to keep multiple intermediate data processing
beans in camel route to generate/consume entity beans data
.
--
View this message in context:
http://camel.465427.n5.nabble.com/entity-manager-is-injected-as-null-in-a-camel-bean-but-jpa-endpoint-works-fine-tp5775308p5775857.html
Sent from the Camel - Users mailing list archive at Nabble.com.
complex SQL and
joins so we wanted some way to inject entity manager in some DAO where we
can write our DB specific code. Pls suggest how to use JPA Component inside
some Camel bean. Currently we were able to get a handle to entity manager
using @PersistenceContext annotation inside a bean which is
l JPA
component instead of custom JPA code.
--
View this message in context:
http://camel.465427.n5.nabble.com/entity-manager-is-injected-as-null-in-a-camel-bean-but-jpa-endpoint-works-fine-tp5775308p5775768.html
Sent from the Camel - Users mailing list archive at Nabble.com.
I switched to a older version of spring and this issue got resolved
automatically, now I use version 4.1.8
--
View this message in context:
http://camel.465427.n5.nabble.com/entity-manager-is-injected-as-null-in-a-camel-bean-but-jpa-endpoint-works-fine-tp5775308p5775619.html
Sent from the
ns/persistence/persistence_2_0.xsd"; version="2.0"
xmlns="http://java.sun.com/xml/ns/persistence";>
org.hibernate.ejb.HibernatePersistence
entity.Order
--
View this message in context:
http://camel.465427.n5.nabble.c
l set
> now. Thanks!
>
Ah yeah the parser checks for ( and ).
We could likely improve it and make it fail if it detect an non even pair?
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Apache-Camel-bean-parameter-binding-issue-with-Spring-DSL-tp57
mel.465427.n5.nabble.com/Apache-Camel-bean-parameter-binding-issue-with-Spring-DSL-tp5772200p5772301.html
Sent from the Camel - Users mailing list archive at Nabble.com.
nd trying 2.15.3 or 2.16? Is 2.15.3 the latest stable?
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Apache-Camel-bean-parameter-binding-issue-with-Spring-DSL-tp5772200p5772294.html
> Sent from the Camel - Users mailing list archive at
Ok, thanks Claus.
Would you recommend trying 2.15.3 or 2.16? Is 2.15.3 the latest stable?
--
View this message in context:
http://camel.465427.n5.nabble.com/Apache-Camel-bean-parameter-binding-issue-with-Spring-DSL-tp5772200p5772294.html
Sent from the Camel - Users mailing list archive at
View this message in context:
http://camel.465427.n5.nabble.com/Apache-Camel-bean-parameter-binding-issue-with-Spring-DSL-tp5772200p5772293.html
Sent from the Camel - Users mailing list archive at Nabble.com.
ge exchange,
> Organization organization) throws Throwable
>
> I am using camel version 2.13.1.
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Apache-Camel-bean-parameter-binding-issue-with-Spring-DSL-tp5772200p5772289.html
> Se
,
Organization organization) throws Throwable
I am using camel version 2.13.1.
--
View this message in context:
http://camel.465427.n5.nabble.com/Apache-Camel-bean-parameter-binding-issue-with-Spring-DSL-tp5772200p5772289.html
Sent from the Camel - Users mailing list archive at Nabble.com.
hes worked well
for me. I am using camel version of 2.13.2
Thanks,
Kalyan
--
View this message in context:
http://camel.465427.n5.nabble.com/Apache-Camel-bean-parameter-binding-issue-with-Spring-DSL-tp5772200p5772208.html
Sent from the Camel - Users mailing list archive at Nabble.com.
*" with "${exchange}" but got a number of errors
> saying "org.apache.camel.ExpressionEvaluationException: Cannot
> create/evaluate simple expression: ${exchange} to be bound to parameter at
> index: 0 on method"
>
>
>
> --
> View this mess
.apache.camel.ExpressionEvaluationException: Cannot
create/evaluate simple expression: ${exchange} to be bound to parameter at
index: 0 on method"
--
View this message in context:
http://camel.465427.n5.nabble.com/Apache-Camel-bean-parameter-binding-issue-with-Spring-DSL-tp5772200.html
Sent from the Camel - Users mailing list archive at Nabble.com.
g) service beans become stateless.
So far, it looks good.
Much obliged for all the help.
--
View this message in context:
http://camel.465427.n5.nabble.com/Claus-Need-better-understanding-of-Camel-bean-tag-usage-with-Spring-prototype-beans-tp5756009p5756292.html
Sent from the Camel - Users mailing
instance anyway.
Mind there was a issue with the cache option in Camel, that is fixed
for 2.14.0 - see the release notes.
>
> On 3 September 2014 09:12, rickaroni wrote:
>
>> Hi Claus,
>>
>> I'm still a bit confused with precisely how the Camel "bean" ta
7;m still a bit confused with precisely how the Camel "bean" tag works and
> interacts with Spring prototype beans.
>
> With similar ESB's to Camel, I've seen folks write their own Spring custom
> scope such that the same bean is used from when the input message receiv
Hi Claus,
I'm still a bit confused with precisely how the Camel "bean" tag works and
interacts with Spring prototype beans.
With similar ESB's to Camel, I've seen folks write their own Spring custom
scope such that the same bean is used from when the input message receiv
Ok thxs ! i found it :)
--
View this message in context:
http://camel.465427.n5.nabble.com/Run-once-a-month-Camel-Bean-tp5735712p5735800.html
Sent from the Camel - Users mailing list archive at Nabble.com.
quot;kikou1984" :
>
> > Hi,
> >
> > Is it possible to execute a camel treatment once a month ?
> >
> > Thxs.
> >
> >
> >
> >
> > --
> > View this message in context:
> >
> http://camel.465427.n5.nabble.com/Run-once-a-month-Camel-Bean-tp5735712.html
> > Sent from the Camel - Users mailing list archive at Nabble.com.
> >
>
Yes, take a look at the Camel Quartz component.
Best,
Christian
Am 16.07.2013 12:48 schrieb "kikou1984" :
> Hi,
>
> Is it possible to execute a camel treatment once a month ?
>
> Thxs.
>
>
>
>
> --
> View this message in context:
> http://camel.46
Hi,
Is it possible to execute a camel treatment once a month ?
Thxs.
--
View this message in context:
http://camel.465427.n5.nabble.com/Run-once-a-month-Camel-Bean-tp5735712.html
Sent from the Camel - Users mailing list archive at Nabble.com.
n context:
> http://camel.465427.n5.nabble.com/Camel-Bean-Component-Behaviour-in-case-of-an-InOut-exchange-tp5721888p5722364.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibsen
-
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cib..
.nabble.com/Camel-Bean-Component-Behaviour-in-case-of-an-InOut-exchange-tp5721888p5722364.html
Sent from the Camel - Users mailing list archive at Nabble.com.
.465427.n5.nabble.com/Camel-Bean-Component-Behaviour-in-case-of-an-InOut-exchange-tp5721888p5721963.html
Sent from the Camel - Users mailing list archive at Nabble.com.
got started.
As a workaround you can try adding a 2nd step to the route
from JMS
bean XXX
to log:foo
Eg just to a log or something, eg so the route has 2+ steps.
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Camel-Bean-Component-Behaviour-in
Hi,
How did you send the request to you queue? Did you use ProducerTemplate or
just another route ?
BTW, you need to consider to use camel 2.10.2 which is latest stable release
of Camel.
Willem
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-Bean-Component-Behaviour
>
What version of Camel are you using?
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Camel-Bean-Component-Behaviour-in-case-of-an-InOut-exchange-tp5721888.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibse
d up getting X on my reply queue which is my original
request not my response. Am I missing something here?
Regards,
Sushil
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-Bean-Component-Behaviour-in-case-of-an-InOut-exchange-tp5721888.html
Sent from the Camel - Users mai
Willem,
I've created a small test case using ServiceMix bundles for JSR-303 and for
hibernate validator.
It's a maven based project with a parent project containing two projects:
bundleOne and itest.
"bundleOne" contains a simple class (EntityOne) and a service with the
method "createEntityOne".
Willem,
With two bundles I mean that I have two bundles who utilize hibernate
validator. I run integration tests using Pax-Exam. My first integration test
deploys one bundle which uses hibernate validator to validate my entity
objects before persisting them - it works without a problem.
My second
What do you mean about two bundles?
Are they two camel context, or others.
ServiceMix's repacked bundle should supports to be used across the OSGi
platform, so I need more information about how do you use these validator.
Please create a small test case to show the whole story.
On 9/27/10 3:
t;>
>>>>>>>>>
>>>>>>>>> to use the OSGi wrapped version they use in Glassfish:
>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>
.2.jar
>>>>>>>>
>>>>>>>>
>>>>>>>> But it turns out it requires the packages
>>>>>>>>> "org.glassfish.api.naming.*"
>>>>>>>>>
>>>&g
lidation) and Hibernate's reference implementation
(preferably
the
latest version which I believe is 4.1). I haven't been able to find
one.
The
only one I've found is bundled for Glassfish but has dependencies
on
Glassfish specific classes and therefo
; I don't quite understand how Camel can use the non-OSGi:fied version
>>>>>>> of
>>>>>>> hibernate-validator. Have you tried this deployed in an OSGi
>>>>>>> container?
>>>>>>>
>>>>>>> /Beng
tation
(preferably
the
latest version which I believe is 4.1). I haven't been able to find
one.
The
only one I've found is bundled for Glassfish but has dependencies on
Glassfish specific classes and therefore doesn't work outside
Glassfish.
Since Camel 2.4 conta
> Hope this helps,
>>>>>> Christian
>>>>>>
>>>>>> [1]
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>> http://repository.jboss.org/nexus/content/groups/public/org/hibernate/hibernate-validator/4.0.2.GA/hibernate-validator-4.0.2.GA.jar
>>>>
>>>>> [2] https://issues.apache.org/activemq/browse/CAMEL-3115
>>>>>>
>>>>>>
>>>>>> On Sat, Sep 11, 2010 at 1:07 AM, Bengt Rodehav
>>>>>>
>>>>> wrote:
>>>>>
>>>>>>
>>>>>> I''m experimenting with the Java Bean Validation API (JSR 303). I'm
>>>>>>>
>>>>>> not
>>>>
>>>>> currently doing it with Camel but thought I might ask for help here
>>>>>>>
>>>>>> anyway.
>>>>>>
>>>>>>>
>>>>>>> I'm deploying in an OSGi context and need OSGi bundles for both the
>>>>>>>
>>>>>> API
>>>>
>>>>> (java.validation) and Hibernate's reference implementation
>>>>>>>
>>>>>> (preferably
>>>>
>>>>> the
>>>>>>
>>>>>>> latest version which I believe is 4.1). I haven't been able to find
>>>>>>>
>>>>>> one.
>>>>>
>>>>>> The
>>>>>>> only one I've found is bundled for Glassfish but has dependencies on
>>>>>>> Glassfish specific classes and therefore doesn't work outside
>>>>>>>
>>>>>> Glassfish.
>>>>>
>>>>>>
>>>>>>> Since Camel 2.4 contains the camel-bean-validator component I'm
>>>>>>>
>>>>>> wondering
>>>>>
>>>>>> if
>>>>>>> anyone can tell me how this problem was solved in Camel.
>>>>>>>
>>>>>>> /Bengt
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
gt;> [1]
>>>>>
>>>>>
>>>>>
>>>>
>>> http://repository.jboss.org/nexus/content/groups/public/org/hibernate/hibernate-validator/4.0.2.GA/hibernate-validator-4.0.2.GA.jar
>>>
>>>> [2] https://issues.apache.org/activem
he
latest version which I believe is 4.1). I haven't been able to find
one.
The
only one I've found is bundled for Glassfish but has dependencies on
Glassfish specific classes and therefore doesn't work outside
Glassfish.
Since Camel 2.4 contains the camel-bean-validator componen
I'm deploying in an OSGi context and need OSGi bundles for both the
> API
> > > > (java.validation) and Hibernate's reference implementation
> (preferably
> > > the
> > > > latest version which I believe is 4.1). I haven't been able to find
> > one.
> > > > The
> > > > only one I've found is bundled for Glassfish but has dependencies on
> > > > Glassfish specific classes and therefore doesn't work outside
> > Glassfish.
> > > >
> > > > Since Camel 2.4 contains the camel-bean-validator component I'm
> > wondering
> > > > if
> > > > anyone can tell me how this problem was solved in Camel.
> > > >
> > > > /Bengt
> > > >
> > >
> >
>
'm deploying in an OSGi context and need OSGi bundles for both the API
> > > (java.validation) and Hibernate's reference implementation (preferably
> > the
> > > latest version which I believe is 4.1). I haven't been able to find
> one.
> > > The
> > only one I've found is bundled for Glassfish but has dependencies on
> > Glassfish specific classes and therefore doesn't work outside Glassfish.
> >
> > Since Camel 2.4 contains the camel-bean-validator component I'm wondering
> > if
> > anyone can tell me how this problem was solved in Camel.
> >
> > /Bengt
> >
>
ncies on
> Glassfish specific classes and therefore doesn't work outside Glassfish.
>
> Since Camel 2.4 contains the camel-bean-validator component I'm wondering
> if
> anyone can tell me how this problem was solved in Camel.
>
> /Bengt
>
mentation (preferably the
latest version which I believe is 4.1). I haven't been able to find one. The
only one I've found is bundled for Glassfish but has dependencies on
Glassfish specific classes and therefore doesn't work outside Glassfish.
Since Camel 2.4 contains the camel-b
ntext:
http://old.nabble.com/Transactional-Camel-Bean-component-%3A-Should-we-define-a-transacted--camel-route-or-not---tp28513052p2878.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi,
My question is perhaps a little bit trivial but I would like to know
if we must design a camel route as transacted when we call from a
camel route a camel bean component where we insert data in a DB ?
Kind regards,
Charles Moulliard
Senior Enterprise Architect (J2EE, .NET, SOA)
Apache
Hi,
I use Camel 2.2 on SMX4.2 with Spring. I have created a route calling
a camel bean POJO exposed as a Spring DM service. Everything works
fine, no error is returned but my data are not saved in the DB.
Config : Route
public void configure() throws Exception
Ok, I will do this.
I opened an issue on JIRA and will track further discussions there.
https://issues.apache.org/activemq/browse/CAMEL-2565
--
View this message in context:
http://old.nabble.com/Proposal-for-a-new-camel-bean-validation-component-based-on-jsr-303-tp27950969p27976253.html
Sent
ionEndpointUri)
> .to("blah")
>
> or
>
> from("foo")
> .validate(nonblocking)
> .to("bar")
>
> Now, I think also this is the better solution to implements these
> requirements. But I'm not so familiar with implementing
> Predicate
ese
requirements. But I'm not so familiar with implementing
Predicates/Processors and extend the Java/XML DSL. Could you give me a hint,
where I could find a good sample in the Camel code to implement a
Predicate/Processor?
Regards,
Christian
--
View this message in context:
http://old.nabble
te/stable/validator/reference/en/html_single/
>
> The Hibernate Validator (the reference implementation) is licensed under the
> Apache License Version 2:
> http://anonsvn.jboss.org/repos/hibernate/validator/tags/v4_0_2_GA/license.txt
>
> What do you think? Could this be an useful compon
.txt
What do you think? Could this be an useful component for Camel?
Regards,
Christian
--
View this message in context:
http://old.nabble.com/Proposal-for-a-new-camel-bean-validation-component-based-on-jsr-303-tp27950969p27950969.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi Charles,
Maybe the bean's method is changed when you add the @Transaction
annotation.
Maybe some aop things get involved with this change.
Willem
Charles Moulliard wrote:
I get this error but my config seems correct :
Caused by: org.apache.camel.component.bean.MethodNotFoundException: Me
Forget my question.
The method getReports was defined in the class implementing the interface
but not in the interface referenced in my camel-context
Regards,
Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer
*
blog : http://cmoulliard.blogspot.com
I get this error but my config seems correct :
Caused by: org.apache.camel.component.bean.MethodNotFoundException: Method
with name: getReports not found on bean:
org.apache.camel.example.reportincident.service.impl.reportincidentdaoi...@1f70bc1on
the exchange: Exchange[JmsMessage: ActiveMQTextMes
od please".
>
>
> Thanks
> Sriram
> --
> View this message in context:
> http://www.nabble.com/camel-bean-processor-question-tp24119905p24119905.html
> Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.
>
>
--
Claus Ibsen
Apache Camel Co
t; >
> > >> exchange,
> > >> InputStream<
> > >>
> >
> http://java.sun.com/j2se/1.5.0/docs/api/java/io/InputStream.html?is-external=true
> > >> >
> > >> stream)
> > >> Unmarshals the given stream into an object.
> > &
message in context:
http://www.nabble.com/camel-bean-processor-question-tp24119905p24119905.html
Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.
>
> >> stream)
> >> Unmarshals the given stream into an object.
> >>
> >>
> >>
> >> On Thu, Jun 18, 2009 at 10:41 AM, Claus Ibsen
> >> wrote:
> >>
> >> > Hi
> >> > The Data Format abstraction in
>> wrote:
>>
>> > Hi
>> > The Data Format abstraction in Camel is a thin layer. So you could
>> create
>> > your own POJO layer you can invoke.
>> > And in the impl of the POJO layer you more or less do the same as Camel
>> > does, but without the
gt; > your own POJO layer you can invoke.
> > And in the impl of the POJO layer you more or less do the same as Camel
> > does, but without the Exchange as parameter.
> >
> >
> >
> > On Thu, Jun 18, 2009 at 9:58 AM, Charles Moulliard > >wrote:
>
gt; your own POJO layer you can invoke.
> And in the impl of the POJO layer you more or less do the same as Camel
> does, but without the Exchange as parameter.
>
>
>
> On Thu, Jun 18, 2009 at 9:58 AM, Charles Moulliard >wrote:
>
> > Hi,
> >
> > I would lik
Hi,
>
> I would like to know if it is possible for a camel bean to call an
> unmarshall/marshall endpoint/process (I don't know if it must be
> considerate
> as an endpoint or process) from a Camel bean ?
>
> In a normal routing, we call
Hi,
I would like to know if it is possible for a camel bean to call an
unmarshall/marshall endpoint/process (I don't know if it must be considerate
as an endpoint or process) from a Camel bean ?
In a normal routing, we call unmarshall/marshall like this :
What I would
78 matches
Mail list logo