surely not the best way to do.
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau
> <http://www.linkedin.com/pub/robert-simmons/40/852/a39>*
>
>
> On Sat, Dec 14, 2013 at 9:09 AM, John D. Ament >wrote:
>
> > Why not use a polling consumer?
> >
> > On Sat, Dec 14, 2013 at 6:25 AM, Romain Manni-Bucau
> > wrote:
> > &g
s would set the same boolean on the consumers which would not wait
to get data if nothing is available anymore and would stop the route.
Once all routes are stopped the context would be stopped too.
This way it would be easy to write cron-ned mains with camel without app hacks.
Romain Mann
Not really true since it prevents from using camel consumers which
doesn't support it so it makes camel not as useful as it could.
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmanni
ratix.net> wrote:
>
> > Why not keep the context+routes running?
> > If nothing´s there nothing gets processed.
> > We transfer a gazillion files and poll like crazy (5 sec) even when
> > nothing is expected. Who cares on a corporate network?
> >
> > Am
ent job it will even not be studied cause of it.
Compare to spring integration (which you woudn't use if you used
camel) it seems a missing "feature".
It is ok to close this thread is camel doesn't aim to solve it.
Thks btw
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: ht
ning
;) or to reuse a camel component in a batch to avoid to reinvent the
wheel (useful in some cases).
Hope it is clearer
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau
Hi
Did you check you classpath for an older camel dependency somewhere?
Le ven. 10 janv. 2020 à 15:01, Tom Coudyzer a écrit :
> Hi,
>
> Thanks for the reply. Switched to Java 11 (and as told earlier) checked the
> migration guide, but still not working...
>
> Any other ideas?
>
> Thanks a lot!!
Maybe override setUp method with
System.out.println("java.class.path");
super.setUp();
To ensure you run what you think and that eclipse uses an up to date
dependencies model.
Le ven. 10 janv. 2020 à 17:31, Francois Papon
a écrit :
> Any chances to share your project?
>
> I can try to reprodu
a-validator\0.1.1\json-schema-validator-0.1.1.jar
>
> C:\Users\johndoe\.m2\repository\org\slf4j\slf4j-ext\1.7.21\slf4j-ext-1.7.21.jar
>
> C:\Users\johndoe\.m2\repository\ch\qos\cal10n\cal10n-api\0.8.1\cal10n-api-0.8.1.jar
>
> C:\Users\johndoe\.m2\repository\com\jayway\jsonpath\json-path\
ontext.java:560)
> > ... 56 more
> > Caused by: java.lang.reflect.InvocationTargetException
> > at
> >
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> > Method)
> > at
> >
> java.base/jdk.internal.reflect.NativeConstr
Hi Gerald,
Did you setup pax url to be offline (worse case through a settings.xml or
*etc/org.ops4j.pax.url.mvn.cfg*)?
Maybe also share your logs to ensure it comes from that.
Le dim. 2 févr. 2020 à 14:03, Gerald Kallas a écrit :
> Dear community,
>
> I did setup a docker container for Camel/
AFAIK the transaction manager jndi name is not standard (user transaction
one is) and current one is not zven the "common" one which is in comp/ for
webapps so IMHO:
- camel-cdi must not have any ee feature (deployment should theorically
fail if validated since injection must not work in standalon
a very old hibernate version (manager_lookup_class), then
use org.apache.openejb.hibernate.TransactionManagerLookup)
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <
module cause cdi
module seems inaccurate (in terms of dependencies and usage and it already
created troubles by the past even if the openjpa code could mitigate it).
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<https://rmannibucau.metawerx.net/> | Ol
Works too, i was thinking about something similar but programmatic but at
the end it does the same (veto the default impl and replace it by a custom
one which injects the txmgr), your solution is even less verbose ;).
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |
the route could look like something like:
from("jsonstreaming:/path/file.json?pointer=/items")
.to("bean:processUser");
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rman
Doing the same than sax/jaxb with jsonp sounds very feasible too - that's
the impl i had in mind.
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <http
ng to native mode
with graalvm).
Any highlights on that? Is the value the python script to help to
bootstrap? (if so it would be great to not require pythong for java dev but
maybe java?).
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<https://rmannibucau.metawe
level you just need to point to the src distro so while there is
the required download link it is more than fine (and you can make the "m2
download" page looking better than the mirror download page to let users
keep doing what they do for all java projects: not use mirror download ;)).
Isnt the future of servicemix karaf and karaf+camel project which is still
maintained? It is the only viable option to keep smix dynamism IMHO.
Le mar. 19 janv. 2021 à 05:42, Tadayoshi Sato a
écrit :
> On Sun, Jan 17, 2021 at 6:28 PM ski n wrote:
>
> > Hi all,
> >
> > In 2020 there was a clear
ch (final Exception e) {
throw new IllegalStateException(e);
}
}
Hope it helps.
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<htt
all release so can need some tuning).
The side note is that all the metrics are available elsewhere (generally
from the management module or camel context) so it can be faster to just
read them from where they are instead of using JMX as a bridge.
Hope it helps.
Romain Manni-Bucau
@rmannibucau
t" answer ;)
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau>
existing component
or write your own right now.
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.
get the consumer instance and set a custom "beam processor"
which just forwards the exchange in the PCollection (unbounded source or a
plain DoFn works).
Hope it helps.
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<https://rmannibucau.metawerx.net
particular when it becomes a compat matrix crossing some features ;).
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <
programming model you want, you can use @Inject @Any
Instance routes; and register them all on the context you
created or just do it programmatically depending if you need a generic
solution, injections etc...
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
Hi
Would be great to use the new websocket jsr by default, no?
Le 4 mai 2013 10:29, "Claus Ibsen" a écrit :
> Hi
>
> No the current camel-websocket is Jetty based.
> There is a ticket to create a new component using the Atmosphere
> framework which is container agnostic.
>
> On Sat, May 4, 2013
be nice.
>
> On Sat, May 4, 2013 at 10:34 AM, Romain Manni-Bucau
> wrote:
> > Hi
> >
> > Would be great to use the new websocket jsr by default, no?
> > Le 4 mai 2013 10:29, "Claus Ibsen" a écrit :
> >
> >> Hi
> >>
> >
Hi
created https://issues.apache.org/jira/browse/CAMEL-6356
*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*G
Hi
If it didnt change since i looked it relies on DS so you just need to
ensure cdi impl bundle started before
Le 28 juil. 2013 21:01, "John D. Ament" a écrit :
> Hi all
>
> I'm interested in using camel-cdi support, but not within an EE container;
> instead I want to run it with Karaf and Servi
hi
i used it (before any release so it maybe changed) with owb in KarafEE so
just pick the container you want ;)
*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*Link
I
> have is servicemix as a container. So it's not clear where I would put the
> bootstrap class since I don't instantiate the camel context (servicemix
> does).
>
>
> On Sun, Jul 28, 2013 at 3:38 PM, Romain Manni-Bucau
> wrote:
>
> > hi
> >
> > i
Basically when i looked the only useful stuff was the registry to reuse cdi
beans.
Doing an @ExchangeScoped was not easy since threading is not well handled
by camel.
Finally using camel injections in cdi beans was interesting to trigger
routes.
Creating a route from annotations is not that effi
Hazelcast has a jca adaptor so it can work too
Le 5 févr. 2013 08:28, "Claus Ibsen" a écrit :
> You can only use transactions with JMS and JDBC. (and possible a few
> other technologies).
>
>
> On Tue, Feb 5, 2013 at 8:16 AM, xanko wrote:
> > Hi,
> >
> > I want use hazelcast component to share d
Hi,
your statements are globally correct
for spring that's different since you let spring manages it (with the same
issues)
*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.c
as no real sense in such a thread)
Note: deltaspike has a kind of cdicontroller to allow to get scoped cdi
beans in batches, maybe something to have a look on
*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress
Ok got your point byt not sure it matches completely the need
Le 8 févr. 2013 18:04, "Claus Ibsen" a écrit :
> On Fri, Feb 8, 2013 at 6:01 PM, Romain Manni-Bucau
> wrote:
> > jWorkManager or WorkManager?
> >
> > the last one is part of JavaEE but does not have
You can inject it through @Resource
Le 8 févr. 2013 22:45, "Harald Wellmann" a écrit :
> AFAIK, WorkManager is only meant to be used in resource adapter/JCA
> connector implementations. It should not be used by application code as an
> Executor substitute.
>
> the best is to get resources from w
Hi all,
what do you think about using camel for business flows? Is it a good idea or
other open source framework will do better (faster?)?
I ask it because technically i see how to do but i don't know if it is a
good idea because it is not the first goal of camel.
- Romain
> > business flows, I think that pure player in this domain is more flexible
> and
> > provide more tooling for business analyst.
> >
> > By pure players, I mean BP engines such as Activiti, jBPM, etc.
> >
> > Regards
> > JB
> >
> >
> > O
Hi,
you can do something like
from(...)..choice().when(simple("${body.class ==
'org.apache.MyClass'}")).to...otherwise().to()...
- Romain
2011/4/19 Gert Villemos
> Is there a a way to route an exchange based on the class hold in the IN
> message body?
>
> I have a 'splitter' bean that cr
same solution: http://camel.apache.org/content-based-router.html
2011/4/19 Gert Villemos
> ... and if I'm using the Spring annotation, i.e. XML?
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Routing-based-on-exchange-IN-message-body-clas-tp4313282p4313325.html
> Sent
using another language like groovy for example can do the trick. I dont know
if we can say the type to simple language.
2011/4/19 Gert Villemos
> Its because the getClass() method doesnt return a String but a Class
> object, i.e. creating an inheritance hierarchy and using accessor methods
> ret
e,
> you can recover messages and restart your camel route from where it
> fails during a crash. You can also combine Camel Routes with a BPMN
> engine like Activiti (camel-activiti) to leverage on the best of Camel
> and Business Process Engine.
>
> Just my 2cents
>
> Regards,
Hi,
just a stupid question but why the camel used for the camel logo has
only one hump?
- Romain
nt remark: There should be 2 humps as a Camel is not a Dromedary ;-)
>>>
>>> On Wed, May 4, 2011 at 5:38 PM, Romain Manni-Bucau
>>> wrote:
>>>> Hi,
>>>>
>>>> just a stupid question but why the camel used for the camel logo has
>>>> only one hump?
>>>>
>>>> - Romain
>>>>
>>>
>>
>
Hi all,
do you have any informations about a gui for camel or a route diagram
generator? I know fuse did some work around the eclipse framework but
will it be integrated into the community version?
- Romain
r part of their application
> http://code.google.com/p/caerusone/
>
>
>
> On Wed, May 4, 2011 at 10:39 PM, Romain Manni-Bucau
> wrote:
>> Hi all,
>>
>> do you have any informations about a gui for camel or a route diagram
>> generator? I know
. It's an integrated platform powered by Eclipse.
>
> Regards
> JB
>
> On 05/05/2011 09:01 AM, Romain Manni-Bucau wrote:
>>
>> thanks for these answers, it was what i've found.
>>
>> i don't really like the maven plugin because it relies on dot
Hi,
i think it should stay like it (KISS), if you want to intercept you
have to use an endpoints otherwise you are free to use endpoint,
processors etc...
another solution could be to add an interceptProcessor().
- Romain
2011/5/5 Claus Ibsen :
> On Thu, May 5, 2011 at 9:19 AM, Jean-Pierre Berg
in one case you send your exchange to an endpoint which sends it to a
processor. In the other case (beanRef) you send it directly to the
processor.
- Romain
2011/5/5 Jean-Pierre Bergamin :
> Am 05.05.2011 09:34, schrieb Claus Ibsen:
>>
>> On Thu, May 5, 2011 at 9:19 AM, Jean-Pierre Bergamin
>> w
ce to such a construct.
>
>
> Thanks,
> James
>
> Am 05.05.2011 09:48, schrieb Romain Manni-Bucau:
>>
>> Hi,
>>
>> i think it should stay like it (KISS), if you want to intercept you
>> have to use an endpoints otherwise you are free to use en
yes but only in XML format, no?
- Romain
2011/5/5 James Strachan :
> On 4 May 2011 21:39, Romain Manni-Bucau wrote:
>> Hi all,
>>
>> do you have any informations about a gui for camel or a route diagram
>> generator? I know fuse did some work around the eclipse
Hi,
what do you think to support more than only dot to generate a diagram
from a route?
i did fastly a poc using jung2 to modelise/generate the graph:
http://www.mediafire.com/?z4uejanhc7rcak8
any thoughts?
- Romain
Then come back and we can take a look.
>
>
> On Fri, May 6, 2011 at 12:41 PM, Romain Manni-Bucau
> wrote:
>> Hi,
>>
>> what do you think to support more than only dot to generate a diagram
>> from a route?
>>
>> i did fastly a poc using jung2 to mod
Hi,
i would like to do a route with a bit more bean invocations than
usually and i realise the use of array body to specify parameters is
not very nice, i always have something like:
from(...).to().to("bean:...").to()
do you think it could be improved specifying in the bean component
input/
at your current google project. And
> if it matures over time.
> You can consider donating it to camel-extra
> http://camel-extra.googlecode.com/
>
>
> On Fri, May 6, 2011 at 1:37 PM, Romain Manni-Bucau
> wrote:
>> sorry, it was easy for me, i didn't think of this
file like:
- Romain
2011/5/6 Romain Manni-Bucau :
> Hi,
>
> i would like to do a route with a bit more bean invocations than
> usually and i realise the use of array body to specify parameters is
> n
://code.google.com/p/rmannibucau/ )
- Romain
2011/5/8 Romain Manni-Bucau :
> Hi,
>
> maybe another solution to this problem could be to add a kind of
> descriptor file:
>
> in camel a bean can extract parameters from headers or something else
> with annotations, if there is a fi
+1
2011/5/9 Claus Ibsen
> On Sun, May 8, 2011 at 1:44 PM, Tarjei Huse wrote:
> > Hi,
> >
> > I got a route like this:
> > from(bookKeeperQueue).routeId("BookKeeperRoute")
> >.process(new BookKeeperProcessor(bookKeeper));
> >
> > That I would like to test by appending a mock endpoint
Hi all,
i updated the diagram generator, i still have a simple main to test it but
can someone have a look?
- Romain
2011/5/6 Claus Ibsen
> On Fri, May 6, 2011 at 5:43 PM, Romain Manni-Bucau
> wrote:
> > it uses the bsd licence, i though it was ok, no?
> >
>
> Ah even
I added an example to show how to use the plugin.
I tried to add a kind of java support (starting a spring context, in this
case your must specify the package as input instead of a folder).
- Romain
2011/5/9 Romain Manni-Bucau
> Hi all,
>
> i updated the diagram generator, i sti
er word how can i get the "myMethod(${header.myHeader}, ${body}"
string from BeanInfo?
I think BeanInfo should have another cached (method, expressions) list to
manage it.
- Romain
2011/5/8 Romain Manni-Bucau
> i did a poc,
>
> i need a modification in camel-core, here is the
done here https://issues.apache.org/jira/browse/CAMEL-3961
- Romain
2011/5/11 Claus Ibsen
> On Tue, May 10, 2011 at 3:38 PM, Romain Manni-Bucau
> wrote:
> > after having talked with Claus on IRC i tried to look how to implement
> his
> > idea:
> >
> > fr
Hi all,
i worked a bit around stax (thanks to claus for its advices).
You can find what i've done here:
http://code.google.com/p/rmannibucau/source/browse/camel/camel-stax/
The test show what can be done with it:
http://code.google.com/p/rmannibucau/source/browse/camel/camel-stax/src/test/java/o
st replace it with
> > org.apache.camel.spi.ClassResolver().resolveClass().
> >
> > - Avoid catching the NullPointException in the
> StAXJAXBIteratorExpression.
> >
> > - Do you plan to add a DSL method for the StAXJAXBIteratorExpression
> > (requires patching ca
Hi,
is there any development around a dynamic groovy DSL?
something which could detect automatically components in the route even if
the existing DSL doesn't know it:
from("whatever").myComponent(header("foo")).file("target/").cxf("...)...
where i'm not sure it could be easy is for expression (
ATOR));
> } else {
> return pattern.equals(location);
> }
> }
> }
> --------
>
> In the code, here is how he use it:
>
> public class MyRouteBuilder
> extends RouteBuilder {
>
>@Override
> public void configure() {
>
Hi all,
is there any simple way to specify a custom expression in the spring dsl?
i didn't find a simple way to do it.
I did an iterator implementing expression and the iterator api is used in a
split EIP but not the expression one.
the expression api should be used to be fully working.
here i
n Sat, May 21, 2011 at 1:56 PM, Claus Ibsen
> wrote:
> > Hi
> >
> > Can you create a JIRA ticket. Then we can look into it. I suspect
> > there may be gap there in the XML DSL.
> >
> > On Thu, May 19, 2011 at 11:26 PM, Romain Manni-Bucau
> > wrote:
>
Hi,
i wrote 2 camel components,
- the first one is very simple and could be a language: camel-assert (
http://code.google.com/p/rmannibucau/source/browse/camel/camel-assert/): it
just allow to check values in a route, i know i could have used simple but i
wanted something more close to junit Asse
ng pattern) {
> > String firstSegments = StringUtils.substringBefore(pattern,
> > DOUBLE_NODE_SEPARATOR) + NODE_SEPARATOR;
> > String lastSegments = NODE_SEPARATOR
> > + StringUtils.substringAfter(pattern, DOUBLE_NODE_SEPARATOR);
> >
> > return location.contai
rce
> Apache Committer
>
> Blog : http://cmoulliard.blogspot.com
> Twitter : http://twitter.com/cmoulliard
> Linkedin : http://www.linkedin.com/in/charlesmoulliard
> Skype: cmoulliard
>
>
>
> On Mon, May 23, 2011 at 5:27 PM, Romain Manni-Bucau
> wrote:
>> Hi,
>&
Hi,
This could be an enhancement using interceptors no?
However IMHO ejb component is useless if you add your ejbs in your camel
context or if you use your jee jndi context as camel context.
- Romain
Le 23 mai 2011 21:59, "Richard Kettelerij" a
écrit :
> No, the EJB component only allows you t
t;, can you elaborate that a bit? The only function of the EJB
> component is to call a EJB inside a route (e.g. to initiate some business
> logic).
>
> Regards,
> Richard
>
> On Mon, May 23, 2011 at 10:03 PM, Romain Manni-Bucau
> wrote:
>
>> Hi,
>>
>> This
I thought of something like: new DefaulyCamelContext(new JndiRegistry(new
InitialContext(properties)));
Le 23 mai 2011 22:55, "Richard Kettelerij" a
écrit :
> I'm of aware of the Spring way (using the 'jee' namespace), that works
great
> indeed. But I'm under the impression that arda7474 (topic s
nstead of
> creating a new one ?
> I just think about rationality to maintain so much expression
> languages in camel and avoid having too much. By the way, this
> question should also be raised for some existing and question too
> their pertinence.
>
> Regards,
>
> Charl
you also put in the jira ticket the link to nabble web site
> containing this discussion please ?
>
> On Tue, May 24, 2011 at 8:58 AM, Romain Manni-Bucau
> wrote:
> > Hi Chatres,
> >
> > i don't want to use simple because the cost (in time) of the evaluation
>
Hi,
i have a route with a splitter with parallel processing + streaming.
just after the split i run a processor in in-out mode setting some headers.
Sometimes (i don't really know when) at the next step the headers i set in
the processor are not in current exchange headers.
If i replace my proc
oops, i posted too fast,
i missed the splitter int he route:
from("file:...).split(...)..streaming().parallelProcessing().inOut("bean:myProcessor").to("bean:checkHeaders").end().to("log:done");
- Romain
2011/5/25 Romain Manni-Bucau
> Hi,
>
>
my mistake,
i needed a thread local to store the exchange before using it in my
singleton.
sorry for the spam.
- Romain
2011/5/25 Romain Manni-Bucau
> oops, i posted too fast,
>
> i missed the splitter int he route:
>
>
> from("file:...).split(...)..streaming().par
Hi,
i had something close to do and playing with an aggregator to do a kind of
commit interval is possible but doesn't exist out of the box, it could be a
good enhancement.
- Romain
2011/6/4 Alan Camillo
> I get hundreds of messages by a queue and I have to insert those messages
> in
> 2 datab
Hi,
creating a list with spring should work but i think the problem is the
context creation here.
personnaly i use the bean component and i ask to me (with java dsl) or
spring to do the lookup to put it in the camel registry.
- Romain
2011/6/15 Charles Moulliard
> Hi,
>
> I try to use openejb
;Processor processor = answer.getProcessor();
>setProperties(processor, parameters);
>return answer;
> }
>
>
> On Wed, Jun 15, 2011 at 11:33 PM, Romain Manni-Bucau
> wrote:
> > Hi,
> >
> > creating a list with spring should work but i think the pr
eployed using deploy dir of servicemix and
> DynamicImport package is enable. I have also installed the openEJB
> client jar and wrapped it. So everything is in place
>
> On Thu, Jun 16, 2011 at 4:50 PM, Romain Manni-Bucau
> wrote:
> > oh you are in an OSGi container?
>
text with the properties provided in my first email. So the
> project + remote EJB is in order. This is the camel + jndi in OSGI
> container where we have a problem.
>
> On Thu, Jun 16, 2011 at 8:18 PM, Romain Manni-Bucau
> wrote:
> > Charles, which part of code do you think i
l-core:2.8.0.SNAPSHOT]
>at
> org.apache.camel.component.bean.MethodInfo$1.proceed(MethodInfo.java:230)[55:org.apache.camel.camel-core:2.8.0.SNAPSHOT]
>at
> org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:161)[55:org.apache.camel.camel-core:2.8.0.SNAPSHOT]
>
>
cool :).
- Romain
2011/6/16 Charles Moulliard
> yep. That works now using camel-ejb component on osgi.
>
>
> On Thu, Jun 16, 2011 at 10:12 PM, Romain Manni-Bucau
> wrote:
> > looks like what i've said ;)
> >
> > maybe try to specify manually imports.
>
I use the occasion to thank you Claus, this improvement is really useful :)
it will save a lot of wrapper files.
- Romain
2011/7/26 Claus Ibsen
> On Tue, Jul 26, 2011 at 7:39 AM, Jim Talbut
> wrote:
> > Hi,
> >
> > I have a POJO that benefits from having a non-Camel interface (it means I
> >
Hi,
headers or properties are a good solutions. Just take care headers can be
lost between 2 components.
- Romain
2011/9/9 Sadanand Kusma
> Hi,
>
> I am wondering if there is a way to declare/use request scoped variables in
> camel 2.x which runs on jdk1.5. This is the case where we want to cr
Hi,
maybe a little project i started few mounth ago could help you
http://code.google.com/p/rmannibucau/wiki/CamelDiagramGenerator
it still needs soem work to be fully functionnal but it is a starting point.
Otherwise camel already provides a plugin to do it with graphviz
- Romain
2011/10/24
Hi,
Try properties instead pf headers. It is the main diffrence between both.
- Romain
Le 28 oct. 2011 17:25, "ychawla" a écrit :
> Hello All,
> I frequently set headers on an exchange so I can access them at different
> points on a route. Is there a way to persist a variable between differen
Hi,
Do you create an entitymanager factory for each message?
- Romain
Le 23 nov. 2011 00:40, "Idriss" a écrit :
> Hi,
>
> I mean with long that is slow.
> I'm using this :
>
> from("jpa://XXX")
> .process(new MyProcess())
>
> and in the class MyProcess I'm using EntityManagerFactory, EntityMa
you should at least create the emf only once and put it in your context i
think.
- Romain
2011/11/23 Idriss
> Hi Romain,
>
> Yes, in my processor I create EntityManagerFactory, EntityManager and
> EntityTransaction for each message.
>
>
> Idriss
>
> --
> View this message in context:
> http://
try to convert your body
from org.apache.camel.example.etl.BOPDEV.PccCommoncard
to org.apache.camel.example.etl.IWIBO.OcPccCommoncard before the jpa
endpoint.
- Romain
2011/11/23 Idriss
> I tried with this :
> to("jpa:org.apache.camel.example.etl.IWIBO.OcPccCommoncard")
>
> But I have the foll
hmm,
you can do it in you processor.
The problem is the body the jpa endpoint retreives is not the class you
specify in the endpoint itself.
Either you mispelled it or you have to convert it.
- Romain
2011/11/23 Idriss
> I don't know how I will do that.
> Can you explain that to me, please?
can you provide the qualified name of classes please? (or a unit test to
reproduce the error)
- Romain
2011/11/23 Idriss
> What I do in my processor is :
>
> I get the message using this:
> Message message = exchange.getIn();
> PccCommoncard pcc = message.getBody(PccCommoncard.class)
1 - 100 of 174 matches
Mail list logo