Re: Camel bean 4.8.1 toD uri issue

2025-02-11 Thread Claus Ibsen
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: > > > > >

Re: Camel bean 4.8.1 toD uri issue

2025-02-09 Thread logesh
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

Re: Camel bean 4.8.1 toD uri issue

2025-02-09 Thread Claus Ibsen
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

Re: Camel bean 4.8.1 toD uri issue

2025-02-09 Thread logesh
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

Re: Camel bean

2024-07-05 Thread Claus Ibsen
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

Camel bean

2024-07-05 Thread logesh
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

Camel Bean binding

2016-04-20 Thread VinothKR
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.

Re: Apache Camel bean parameter binding issue with Spring DSL

2016-04-14 Thread Claus Ibsen
-- > 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

Re: Apache Camel bean parameter binding issue with Spring DSL

2016-04-14 Thread Mario Balaban
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.

Re: Apache Camel bean parameter binding issue with Spring DSL

2016-04-14 Thread Claus Ibsen
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

Re: Apache Camel bean parameter binding issue with Spring DSL

2016-04-14 Thread Mario Balaban
-Camel-bean-parameter-binding-issue-with-Spring-DSL-tp5772200p5781069.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: entity manager is injected as null in a camel bean but jpa: endpoint works fine

2016-01-06 Thread amitmahesh
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

Re: entity manager is injected as null in a camel bean but jpa: endpoint works fine

2016-01-05 Thread SaurabhNayar
. -- 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.

Re: entity manager is injected as null in a camel bean but jpa: endpoint works fine

2016-01-05 Thread amitmahesh
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

Re: entity manager is injected as null in a camel bean but jpa: endpoint works fine

2016-01-04 Thread SaurabhNayar
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.

Re: entity manager is injected as null in a camel bean but jpa: endpoint works fine

2015-12-30 Thread amitmahesh
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

entity manager is injected as null in a camel bean but jpa: endpoint works fine

2015-12-21 Thread amitmahesh
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

Re: Apache Camel bean parameter binding issue with Spring DSL

2015-10-05 Thread Claus Ibsen
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

Re: Apache Camel bean parameter binding issue with Spring DSL

2015-10-05 Thread wheli
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.

Re: Apache Camel bean parameter binding issue with Spring DSL

2015-10-05 Thread Claus Ibsen
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

Re: Apache Camel bean parameter binding issue with Spring DSL

2015-10-05 Thread wheli
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

Re: Apache Camel bean parameter binding issue with Spring DSL

2015-10-05 Thread wheli
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.

Re: Apache Camel bean parameter binding issue with Spring DSL

2015-10-05 Thread Claus Ibsen
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

Re: Apache Camel bean parameter binding issue with Spring DSL

2015-10-05 Thread wheli
, 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.

Re: Apache Camel bean parameter binding issue with Spring DSL

2015-10-03 Thread calyan.bandi
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.

Re: Apache Camel bean parameter binding issue with Spring DSL

2015-10-02 Thread Claus Ibsen
*" 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 bean parameter binding issue with Spring DSL

2015-10-02 Thread wheli
.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.

Re: Claus - Need better understanding of Camel "bean" tag usage with Spring prototype beans

2014-09-10 Thread rickaroni
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

Re: Claus - Need better understanding of Camel "bean" tag usage with Spring prototype beans

2014-09-03 Thread Claus Ibsen
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

Re: Claus - Need better understanding of Camel "bean" tag usage with Spring prototype beans

2014-09-03 Thread Matt Sicker
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

Claus - Need better understanding of Camel "bean" tag usage with Spring prototype beans

2014-09-03 Thread rickaroni
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

Re: Run once a month Camel Bean

2013-07-17 Thread kikou1984
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.

Re: Run once a month Camel Bean

2013-07-16 Thread Joe San
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. > > >

Re: Run once a month Camel Bean

2013-07-16 Thread Christian Müller
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

Run once a month Camel Bean

2013-07-16 Thread 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.

Re: Camel Bean Component Behaviour in case of an InOut exchange

2012-11-08 Thread Claus Ibsen
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..

Re: Camel Bean Component Behaviour in case of an InOut exchange

2012-11-08 Thread sushil_vsk5
.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.

Re: Camel Bean Component Behaviour in case of an InOut exchange

2012-11-01 Thread sushil_vsk5
.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.

Re: Camel Bean Component Behaviour in case of an InOut exchange

2012-10-31 Thread Claus Ibsen
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

Re: Camel Bean Component Behaviour in case of an InOut exchange

2012-10-31 Thread Willem.Jiang
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

Re: Camel Bean Component Behaviour in case of an InOut exchange

2012-10-31 Thread Claus Ibsen
> 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

Camel Bean Component Behaviour in case of an InOut exchange

2012-10-31 Thread sushil_vsk5
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

Re: camel-bean-validator and hibernate-validator for OSGi

2010-09-30 Thread Bengt Rodehav
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".

Re: camel-bean-validator and hibernate-validator for OSGi

2010-09-27 Thread Bengt Rodehav
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

Re: camel-bean-validator and hibernate-validator for OSGi

2010-09-27 Thread Willem Jiang
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:

Re: camel-bean-validator and hibernate-validator for OSGi

2010-09-26 Thread Bengt Rodehav
t;> >>>>>>>>> >>>>>>>>> to use the OSGi wrapped version they use in Glassfish: >>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>

Re: camel-bean-validator and hibernate-validator for OSGi

2010-09-16 Thread Bengt Rodehav
.2.jar >>>>>>>> >>>>>>>> >>>>>>>> But it turns out it requires the packages >>>>>>>>> "org.glassfish.api.naming.*" >>>>>>>>> >>>&g

Re: camel-bean-validator and hibernate-validator for OSGi

2010-09-16 Thread Willem Jiang
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

Re: camel-bean-validator and hibernate-validator for OSGi

2010-09-16 Thread Bengt Rodehav
; 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

Re: camel-bean-validator and hibernate-validator for OSGi

2010-09-16 Thread Willem Jiang
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

Re: camel-bean-validator and hibernate-validator for OSGi

2010-09-15 Thread Bengt Rodehav
> 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 >>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>> >> >

Re: camel-bean-validator and hibernate-validator for OSGi

2010-09-13 Thread Bengt Rodehav
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

Re: camel-bean-validator and hibernate-validator for OSGi

2010-09-13 Thread Willem Jiang
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

Re: camel-bean-validator and hibernate-validator for OSGi

2010-09-12 Thread Bengt Rodehav
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 > > > > > > > > > >

Re: camel-bean-validator and hibernate-validator for OSGi

2010-09-11 Thread Christian Müller
'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

Re: camel-bean-validator and hibernate-validator for OSGi

2010-09-11 Thread Bengt Rodehav
> > 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 > > >

Re: camel-bean-validator and hibernate-validator for OSGi

2010-09-10 Thread Christian Müller
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 >

camel-bean-validator and hibernate-validator for OSGi

2010-09-10 Thread Bengt Rodehav
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

Re: Transactional Camel Bean component : Should we define a transacted camel route or not ?

2010-05-13 Thread huntc
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.

Transactional Camel Bean component : Should we define a transacted camel route or not ?

2010-05-10 Thread Charles Moulliard
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

Data not inserted into DB (Camel Bean / EclipseLink / Spring DM / SMX 4.2) !!

2010-05-06 Thread Charles Moulliard
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

Re: Proposal for a new camel-bean-validation component based on jsr 303

2010-03-21 Thread Christian Mueller
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

Re: Proposal for a new camel-bean-validation component based on jsr 303

2010-03-21 Thread Claus Ibsen
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

Re: Proposal for a new camel-bean-validation component based on jsr 303

2010-03-21 Thread Christian Mueller
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

Re: Proposal for a new camel-bean-validation component based on jsr 303

2010-03-20 Thread Claus Ibsen
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

Proposal for a new camel-bean-validation component based on jsr 303

2010-03-19 Thread Christian Mueller
.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.

Re: camel bean - Method with name: getReports not found on bean

2009-12-18 Thread Willem Jiang
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

Re: camel bean - Method with name: getReports not found on bean

2009-12-18 Thread Charles Moulliard
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

camel bean - Method with name: getReports not found on bean

2009-12-18 Thread Charles Moulliard
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

Re: camel bean processor question

2009-06-21 Thread Claus Ibsen
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

Re: Can I call umarshall/marshall process/endpoint from a camel bean ?

2009-06-21 Thread Claus Ibsen
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. > > &

camel bean processor question

2009-06-19 Thread sriramch
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.

Re: Can I call umarshall/marshall process/endpoint from a camel bean ?

2009-06-18 Thread Charles Moulliard
> > >> 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

Re: Can I call umarshall/marshall process/endpoint from a camel bean ?

2009-06-18 Thread Claus Ibsen
>> 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

Re: Can I call umarshall/marshall process/endpoint from a camel bean ?

2009-06-18 Thread Claus Ibsen
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: >

Re: Can I call umarshall/marshall process/endpoint from a camel bean ?

2009-06-18 Thread Charles Moulliard
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

Re: Can I call umarshall/marshall process/endpoint from a camel bean ?

2009-06-18 Thread Claus Ibsen
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

Can I call umarshall/marshall process/endpoint from a camel bean ?

2009-06-18 Thread Charles Moulliard
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