Re: Camel 4 and Weld CDI

2024-02-14 Thread Romain Manni-Bucau
the 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

Re: tag contains a version range in features.xml

2023-01-23 Thread Romain Manni-Bucau
- in 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 &

Re: Integrating Apache Beam and Apache Camel

2022-11-16 Thread Romain Manni-Bucau
is to 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

Re: Web socket client

2022-03-30 Thread Romain Manni-Bucau
the 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.

Re: Camel runtime

2022-01-09 Thread Romain Manni-Bucau
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>

Re: Question about camel metrics IDs

2021-12-01 Thread Romain Manni-Bucau
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

Re: Use of lombok in camel codebase?

2021-11-02 Thread Romain Manni-Bucau
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

Re: Adding Global scoped exception handler in DefaultCamelContext

2021-03-01 Thread Romain Manni-Bucau
tion 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> | LinkedIn <h

Re: Future of Camel

2021-01-19 Thread Romain Manni-Bucau
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

Re: Are you using binary distribution?

2021-01-14 Thread Romain Manni-Bucau
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 ;)).

Re: Introducing K-car: a microservice framework for Camel

2021-01-12 Thread Romain Manni-Bucau
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.metawerx.ne

Re: Stream Huge JSON File

2020-10-23 Thread Romain Manni-Bucau
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 <https://g

Re: Stream Huge JSON File

2020-10-23 Thread Romain Manni-Bucau
end 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

Re: CDI + SJMS + transacted

2020-09-09 Thread Romain Manni-Bucau
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> |

Re: CDI + SJMS + transacted

2020-09-09 Thread Romain Manni-Bucau
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

Re: CDI + SJMS + transacted

2020-09-09 Thread Romain Manni-Bucau
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 <

Re: CDI + SJMS + transacted

2020-09-02 Thread Romain Manni-Bucau
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

Re: Disable karaf remote repositories for Karaf as Camel runtime

2020-02-02 Thread Romain Manni-Bucau
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

Re: Stack trace after upgrading to Camel 3.0

2020-01-10 Thread Romain Manni-Bucau
ctCamelContext.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.NativeCon

Re: Stack trace after upgrading to Camel 3.0

2020-01-10 Thread Romain Manni-Bucau
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\

Re: Stack trace after upgrading to Camel 3.0

2020-01-10 Thread Romain Manni-Bucau
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

Re: Stack trace after upgrading to Camel 3.0

2020-01-10 Thread Romain Manni-Bucau
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

Re: impl cxf bus

2017-04-04 Thread Romain Manni-Bucau
Hello, with camel-cdi you just define a CDI bus: @Dependent @Named("mybus") public class MyBus extends ExtensionManagerBus { } Then in your route you reference it by its name: .to( "cxfbean:x?bus=#mybus") Romain Manni-Bucau @rmannibucau <https://twitter.com/rman

Re: Camel-CXF in tomee

2017-02-27 Thread Romain Manni-Bucau
le/repo1.maven.org/maven2/org.hibernate/hibernate-core/4.2.0.Final/org/hibernate/service/jta/platform/spi/JtaPlatform.java#JtaPlatform> implementation for Sun ONE Application Server 7 and above") 2. if you delete the jars from tomee you need to switch off tomee cxf usage Romain Manni-Bu

Re: Camel-CXF in tomee

2017-02-26 Thread Romain Manni-Bucau
Jta platform is wrong. Remove it Le 26 févr. 2017 15:49, "syadav" a écrit : > And this error is coming only when I delete the cxf related jars from tomee > which I dont want to do. > > > > -- > View this message in context: http://camel.465427.n5.nabble. >

Re: Camel-CXF in tomee

2017-02-26 Thread Romain Manni-Bucau
This is a misconfiguration of hibernate. Remove the lookup manager or transaction platform config to let tomee set it Le 26 févr. 2017 09:47, "syadav" a écrit : > Actually there are many jar files duplicate with respective to tomee and my > application eg cxf-core-3.1.6

Re: Camel-CXF in tomee

2017-02-25 Thread Romain Manni-Bucau
Start by the one triggering the exception. Last one was cxf et management one for instance. Le 25 févr. 2017 10:31, "syadav" a écrit : > Could you please help in identifying the jars which are conflicting tomee > jars. I am unable to figure it out. > > Thanks for your

Re: Camel-CXF in tomee

2017-02-25 Thread Romain Manni-Bucau
This confirm a classloading conflict do please fix your dependencies or configure the classloader to support it. Removing jar in common with tomee libs is a good start i think. Le 25 févr. 2017 09:14, "syadav" a écrit : > SEVERE - Failed to create route route1 at: >>>

Re: Camel-CXF in tomee

2017-02-24 Thread Romain Manni-Bucau
What's the full stack? if you use an old camel-cdi (you didnt mention it) then several versions were buggy and only few weld versions were supported. Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <https://blog-rmannibucau.rhcloud.com> | Ol

Re: Camel-CXF in tomee

2017-02-24 Thread Romain Manni-Bucau
isnt it cxf:bean? Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <https://blog-rmannibucau.rhcloud.com> | Old Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibuc

Re: Camel-CXF in tomee

2017-02-24 Thread Romain Manni-Bucau
how do you define the endpoint? Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <https://blog-rmannibucau.rhcloud.com> | Old Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.c

Re: Camel-CXF in tomee

2017-02-24 Thread Romain Manni-Bucau
you can check "scanning configuration" on http://tomee.apache.org/refcard/refcard.html for the how about the what, my blind guess is cxf and camel but depends your app Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <https://blog-rmannibucau.rhcl

Re: Camel-CXF in tomee

2017-02-24 Thread Romain Manni-Bucau
(there is a way to solve it but saner if you sort it without too much classloading config). Your error just mean your classloader is not well setup and half is taken from the container and the other half from the webapp. Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog

Re: Camel-CXF in tomee

2017-02-24 Thread Romain Manni-Bucau
Hi I don't see the link since you don't use CDI there right? if you use camel-cdi and/or cxf-cdi you need to exclude all but these ones. Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <https://blog-rmannibucau.rhcloud.com> | Old Blog <http://rmannibuca

Re: Camel-CXF in tomee

2017-02-23 Thread Romain Manni-Bucau
Hi, probably remove the cxf libs from the webapp when already in the container or enforce cxf jars to be excluded (and probably camel ones) from the scanning Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <https://blog-rmannibucau.rhcloud.com> | Ol

Re: Camel JPA + JTA Transaction (TomEE)

2016-08-16 Thread Romain Manni-Bucau
Hello FYI I opened https://issues.apache.org/jira/browse/TOMEE-1903 (should be fixed in ~1h) Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <https://blog-rmannibucau.rhcloud.com> | Old Wordpress Blog <http://rmannibucau.wordpress.com> | Github &

RE: Camel JPA + JTA Transaction (TomEE)

2016-08-06 Thread Romain Manni-Bucau
ould be to use reflection - or add openejb-core as provided in your pom - and get the txmgr doing OpenEJB.getTransactionManager(). > > -Original Message- > From: Romain Manni-Bucau [mailto:rmannibu...@gmail.com] > Sent: August-05-16 1:57 PM

RE: Camel JPA + JTA Transaction (TomEE)

2016-08-05 Thread Romain Manni-Bucau
20:08, Romain Manni-Bucau <rmannibu...@gmail.com> wrote: > > try sharing a sample with this issue on github with tomee-maven-plugin > setup to reproduce it (mvn package tomee:run -> fails). Would be more > relevant than guessing the actual issue. > > > Romain Manni-Buca

Re: Camel JPA + JTA Transaction (TomEE)

2016-08-05 Thread Romain Manni-Bucau
try sharing a sample with this issue on github with tomee-maven-plugin setup to reproduce it (mvn package tomee:run -> fails). Would be more relevant than guessing the actual issue. Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <https://blog-rmannibucau

Re: Camel JPA + JTA Transaction (TomEE)

2016-07-30 Thread Romain Manni-Bucau
PS: using an EJB - singleton startup - to start camel context should work too and injections in EJB should work since they have their own jndi tree. Le 30 juil. 2016 19:41, "Romain Manni-Bucau" <rmannibu...@gmail.com> a écrit : > Thinking to it there is a way to rely on

Re: Camel JPA + JTA Transaction (TomEE)

2016-07-30 Thread Romain Manni-Bucau
Thinking to it there is a way to rely on jta when cdi starts. OpenJPA does it for years with this bit of logic: https://github.com/apache/openjpa/blob/a453aa9f462cccb99f028426298e885c25b0cee2/openjpa-kernel/src/main/java/org/apache/openjpa/ee/AutomaticManagedRuntime.java Very doable with spring

Re: Camel JPA + JTA Transaction (TomEE)

2016-07-30 Thread Romain Manni-Bucau
It's an integration issue with camel-cdi triggering the init too early, making it lazy works Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <https://blog-rmannibucau.rhcloud.com> | Old Wordpress Blog <http://rmannibucau.wordpress.com> | Github &

Re: Camel JPA + JTA Transaction (TomEE)

2016-07-29 Thread Romain Manni-Bucau
a @Inject TransactionManager mgr;. Just add in conf.exclusions.list: default-list spring- and it should work Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <https://blog-rmannibucau.rhcloud.com> | Old Wordpress Blog <http://rmannibucau.wordpress.com>

Re: Camel JPA + JTA Transaction (TomEE)

2016-07-29 Thread Romain Manni-Bucau
@Resource TransactionManager transactionManager; should work Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <https://blog-rmannibucau.rhcloud.com> | Old Wordpress Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibuc

Re: Logging issue when having multiple WAR files in one EAR

2016-06-14 Thread Romain Manni-Bucau
Hi Using log4j classloader log manager you should be fine. Le 14 juin 2016 07:36, "balaji ponnusamy" a écrit : > Hi All, > > I am having Ear file which has multiple WAR files inside and deployed in > Web > Logic 10.x server . Each WAR file is referring separate log

Re: camel-test-cdi + OpenEJB fails on weld dependency?

2016-06-02 Thread Romain Manni-Bucau
https://github.com/apache/bval/blob/trunk/bval-jsr/src/main/java/org/apache/bval/cdi/BValExtension.java#L251 should do it Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau>

Re: camel-test-cdi + OpenEJB fails on weld dependency?

2016-06-02 Thread Romain Manni-Bucau
at org.apache.tomee:javaee-api:7.0 but since EE 7 this is a bit less impacting for standalone case. Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linked

Re: camel-test-cdi + OpenEJB fails on weld dependency?

2016-06-01 Thread Romain Manni-Bucau
Hi, about JSF: you can exclude deltaspike extension - camel shouldn't require it AFAIK about bval: ensure you use javaee-api or bval 1.1 API. In your case you have a bval 1.0 API in the classpath. Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog

Re: Is it safe to use ThreadLocalExchange to implement route scope for dependency injection?

2015-08-27 Thread Romain Manni-Bucau
the exchange and therefor avoid this ThreadLocal but this needs few more setup and is less magic. Romain Manni-Bucau @rmannibucau https://twitter.com/rmannibucau | Blog http://rmannibucau.wordpress.com | Github https://github.com/rmannibucau | LinkedIn https://www.linkedin.com/in/rmannibucau

Re: camel for short programs

2013-12-16 Thread Romain Manni-Bucau
transfer a gazillion files and poll like crazy (5 sec) even when nothing is expected. Who cares on a corporate network? Am 15.12.2013 um 20:11 schrieb Romain Manni-Bucau rmannibu...@gmail.com : Not really true since it prevents from using camel consumers which doesn't support it so

Re: camel for short programs

2013-12-16 Thread Romain Manni-Bucau
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: http://rmannibucau.wordpress.com/ LinkedIn

Re: camel for short programs

2013-12-16 Thread Romain Manni-Bucau
;) 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 2013/12/16

Re: camel for short programs

2013-12-15 Thread Romain Manni-Bucau
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 Manni-Bucau Twitter

Re: camel for short programs

2013-12-15 Thread Romain Manni-Bucau
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/rmannibucau

camel for short programs

2013-12-14 Thread Romain Manni-Bucau
but 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

Re: camel for short programs

2013-12-14 Thread Romain Manni-Bucau
/pub/robert-simmons/40/852/a39* On Sat, Dec 14, 2013 at 9:09 AM, John D. Ament john.d.am...@gmail.com wrote: Why not use a polling consumer? On Sat, Dec 14, 2013 at 6:25 AM, Romain Manni-Bucau rmannibu...@gmail.com wrote: Hi any opinion on how to make consumers consume all what

Re: camel-cdi status?

2013-09-16 Thread Romain Manni-Bucau
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

Re: camel-cdi and non containers

2013-07-28 Thread Romain Manni-Bucau
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/ *LinkedIn: **http

Re: camel-cdi and non containers

2013-07-28 Thread Romain Manni-Bucau
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 rmannibu...@gmail.comwrote: hi i used it (before any release so it maybe changed

Re: camel-stax use a custom bean handler not a class

2013-05-13 Thread Romain Manni-Bucau
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* *Github: https://github.com

Re: Will camel-websocket work in producer mode from a web app?

2013-05-05 Thread Romain Manni-Bucau
at 10:34 AM, Romain Manni-Bucau rmannibu...@gmail.com wrote: Hi Would be great to use the new websocket jsr by default, no? Le 4 mai 2013 10:29, Claus Ibsen claus.ib...@gmail.com a écrit : Hi No the current camel-websocket is Jetty based. There is a ticket to create a new component

Re: Will camel-websocket work in producer mode from a web app?

2013-05-04 Thread Romain Manni-Bucau
Hi Would be great to use the new websocket jsr by default, no? Le 4 mai 2013 10:29, Claus Ibsen claus.ib...@gmail.com 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,

Re: Can (S)JMS be safely used on Java EE?

2013-02-08 Thread Romain Manni-Bucau
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.com/*http

Re: Can (S)JMS be safely used on Java EE?

2013-02-08 Thread Romain Manni-Bucau
Ok got your point byt not sure it matches completely the need Le 8 févr. 2013 18:04, Claus Ibsen claus.ib...@gmail.com a écrit : On Fri, Feb 8, 2013 at 6:01 PM, Romain Manni-Bucau rmannibu...@gmail.com wrote: jWorkManager or WorkManager? the last one is part of JavaEE but does not have

Re: Can (S)JMS be safely used on Java EE?

2013-02-08 Thread Romain Manni-Bucau
You can inject it through @Resource Le 8 févr. 2013 22:45, Harald Wellmann hwellmann...@gmail.com 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

Re: camel-hazelcast Transactions

2013-02-04 Thread Romain Manni-Bucau
Hazelcast has a jca adaptor so it can work too Le 5 févr. 2013 08:28, Claus Ibsen claus.ib...@gmail.com 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 tvautrin.w...@gmail.com wrote: Hi, I want

Re: How to deploy Camel to EJB / J2EE container?

2012-07-16 Thread Romain Manni-Bucau
Hi, typically in J2EE or JEE without spring you use standalone like app: create you context manually and manage its lifecycle. You speak about J2EE so i guess you don't have CDI but as a side note with CDI there are some project taking it into account. Personnally i used a servletcontextlistener

Re: CDI and Camel

2012-07-05 Thread Romain Manni-Bucau
Hi it seems camelpe manges a single context. I pushed some idea to manage multiple ones here https://github.com/rmannibucau/camel-cdi-extension - Romain Le 5 juil. 2012 07:23, Bruno Borges bruno.bor...@gmail.com a écrit : I think this project has a more complete implementation of an integration

Re: diagram generator

2012-05-30 Thread Romain Manni-Bucau
Hi Nestor, currently the easier is to fork to remove snapshots. - Romain 2012/5/30 Nestor Urquiza nestor.urqu...@gmail.com Hi Romain, Any recommendations on how to proceed to point to release instead of snapshot so the plugin works from my Jenkins server? At the moment it is pointing to

Re: camel-quartz and support for quartz 2.x

2012-05-23 Thread Romain Manni-Bucau
Hi, normally spring 3.1 supports quartz 2 - Romain 2012/5/23 Christian Müller christian.muel...@gmail.com Nestor, please have a look at https://issues.apache.org/jira/browse/CAMEL-4075 As long as Spring doesn't support Quartz 2.x, we also want to stick with Quartz 1.x. Best, Christian

Re: diagram generator

2012-05-13 Thread Romain Manni-Bucau
added attribute additionalClasspathElements usage in configuration tag: additionalClasspathElements additionalClasspathElementtarget/classes/additionalClasspathElement /additionalClasspathElements - Romain 2012/5/12 Nestor Urquiza nestor.urqu...@gmail.com Whenever you

Re: diagram generator

2012-05-13 Thread Romain Manni-Bucau
np, thanks for your feedback - Romain 2012/5/13 Nestor Urquiza nestor.urqu...@gmail.com Worked like a charm: additionalClasspathElement${basedir}/target/classes/additionalClasspathElement Thanks! -Nestor -- View this message in context:

Re: diagram generator

2012-05-12 Thread Romain Manni-Bucau
If you add attachclasses to the maven war plugin you can use the classifier classes to get them as dependency normally. Well, ill probably look soon but i think ill simply make this path(s) configurable. - Romain Le 11 mai 2012 21:06, Nestor Urquiza nestor.urqu...@gmail.com a écrit : The war

Re: diagram generator

2012-05-11 Thread Romain Manni-Bucau
can you retry? note: using site (or pre-site phase) you need target/classes to exist so run package before - Romain 2012/5/11 Nestor Urquiza nestor.urqu...@gmail.com And in my real project I get a weird behavior when I try to use package instead of input: [INFO] One or more required

Re: diagram generator

2012-05-11 Thread Romain Manni-Bucau
Are the routes in target/classes? If not add a dependency to the plugin - Romain Le 11 mai 2012 17:59, Nestor Urquiza nestor.urqu...@gmail.com a écrit : I am running just 'mvn clean install' just as with the pet project. Below is my xml: plugin groupIdfr.rmannibucau/groupId

Re: diagram generator

2012-05-11 Thread Romain Manni-Bucau
Yep, because it needs it as a plugin dependency. Le 11 mai 2012 18:20, Nestor Urquiza nestor.urqu...@gmail.com a écrit : OK I got it. The problem is related to how you look for classes. I believe you are looking from the running folder. That will work for a simple project where you build from

Re: diagram generator

2012-05-11 Thread Romain Manni-Bucau
That could certainly be configurable but even for a war classes are in target/classes not target. Le 11 mai 2012 18:36, Nestor Urquiza nestor.urqu...@gmail.com a écrit : I am sorry. I am lost. Bare with me please. You mean I have to include the same project as a dependency? My project is a WAR

Re: diagram generator

2012-05-11 Thread Romain Manni-Bucau
Hmm you are right but i still dont see why it could be mandatory to be able to load the class. Simply put the war as dependency. Le 11 mai 2012 20:30, Nestor Urquiza nestor.urqu...@gmail.com a écrit : That is what I meant to say ./target/classes versus ${basedir}/target/classes. Using the

Re: diagram generator

2012-05-10 Thread Romain Manni-Bucau
did you try attaching it to the site phase? - Romain 2012/5/10 Nestor Urquiza nestor.urqu...@gmail.com Hi Romain, Is there anyway to get the diagrams generated only when invoking mvn site. Generating the diagrams every time we build the project is not ideal. Thanks! -Nestor -- View

Re: diagram generator

2012-05-10 Thread Romain Manni-Bucau
i looked doclet and package notes. the package as input needs some refactoring since now 1 input = 1 diagram. So it means if i allow a package you'll get several diagram in a single picture (if you want to refactor you can send a pull request ;)). about the doclet i wonder if javadoc plugin

Re: diagram generator

2012-05-10 Thread Romain Manni-Bucau
can you try specifying a package instead of a class? - Romain 2012/5/10 Romain Manni-Bucau rmannibu...@gmail.com i looked doclet and package notes. the package as input needs some refactoring since now 1 input = 1 diagram. So it means if i allow a package you'll get several diagram

Re: diagram generator

2012-05-10 Thread Romain Manni-Bucau
are you sure you got https://github.com/rmannibucau/diagram-generator-parent/commit/f5e4636d45512c008176769a0b75b9144dbf397a ? - Romain 2012/5/10 Nestor Urquiza nestor.urqu...@gmail.com Latest from github has not changes and in current version when you specify a package in input/ you get:

Re: diagram generator

2012-05-10 Thread Romain Manni-Bucau
you should get some (slf4j) log just before. - Romain 2012/5/10 Nestor Urquiza nestor.urqu...@gmail.com I was using still the old mercurial repo but now after moving to git: git clone https://github.com/rmannibucau/diagram-generator-parent.git I still get the same result for the package

Re: diagram generator

2012-05-10 Thread Romain Manni-Bucau
Any luck you share a project to reproduce it? - Romain Le 11 mai 2012 01:52, Nestor Urquiza nestor.urqu...@gmail.com a écrit : [ERROR] FATAL ERROR [INFO] [INFO] can't load route class

Re: diagram generator

2012-05-09 Thread Romain Manni-Bucau
Hi Nestor, that's currently not *planned* but it could be added (i'm not sure when i'll be able to work on it). since the project is now on github any contribution is welcomed ;) what's your issue? - Romain 2012/5/9 Nestor Urquiza nestor.urqu...@gmail.com Hi Romain, For the javadoc

Re: diagram generator

2012-05-09 Thread Romain Manni-Bucau
Note: can't you simply use html to include the picture? - Romain 2012/5/9 Romain Manni-Bucau rmannibu...@gmail.com Hi Nestor, that's currently not *planned* but it could be added (i'm not sure when i'll be able to work on it). since the project is now on github any contribution

Re: Split large xml into small xml using camel 2.8.0

2012-05-09 Thread Romain Manni-Bucau
probably copying the component the poc for this component was using camel 2.8.2: http://code.google.com/p/rmannibucau/source/browse/#hg%2Fcamel%2Fcamel-stax but i guess you can extract it from the trunk easily - Romain 2012/5/9 Deepthi deepthi...@gmail.com Yea... but I will not be able to

Re: diagram generator

2012-05-09 Thread Romain Manni-Bucau
about the javadoc i thought of the dedicated folder: http://maven.apache.org/plugins/maven-javadoc-plugin/examples/javadoc-resources.html. It should work. For the input your idea is not bad but currently executions should be enough (using xbean to scan a package could be added if you want to

Re: Configure json to use jaxb annotations

2012-05-06 Thread Romain Manni-Bucau
Cxf uses jettison: http://grepcode.com/file_/repository.jboss.org/maven2/org.apache.cxf/cxf-rt-frontend-jaxrs/2.2/org/apache/cxf/jaxrs/provider/JSONProvider.java/?v=source - Romain Le 6 mai 2012 14:09, Christian Müller christian.muel...@gmail.com a écrit : No one I know... Do you know a

Re: diagram generator

2012-04-12 Thread Romain Manni-Bucau
%5D?password=%5B%5Bpwd%5D%5Dusername=%5B%5Buser%5D%5D due to: host must be specified and not empty I know it's a more complex example I can try working around this, just wanted to let you know :) regards, Achim 2012/4/12 Romain Manni-Bucau rmannibu...@gmail.com: you specified the xml file

Re: diagram generator

2012-04-11 Thread Romain Manni-Bucau
, it's a war right now. Or it is because the bean defined inside the configured camel-context.xml references a class of the same project. Would be great if this would work also :) regards, Achim 2012/3/25 Romain Manni-Bucau rmannibu...@gmail.com: Hi Claus, thanks. i updated trunk

Re: diagram generator

2012-04-11 Thread Romain Manni-Bucau
. The class in question is contained in the same project as the xml file and is used by the bean-tag. regards, Achim 2012/4/11 Romain Manni-Bucau rmannibu...@gmail.com: Hi, without more info that's hard to help, which error do you have? - Romain 2012/4/11 Achim Nierbeck bcanh

Re: diagram generator

2012-04-11 Thread Romain Manni-Bucau
was called in the package phase, after packaging the war. thanx for your help :) 2012/4/11 Romain Manni-Bucau rmannibu...@gmail.com: is it a class in the war or in a dependency? if it is in the war did you call compile phase before the generation? more generally dependencies needs

Re: diagram generator

2012-04-11 Thread Romain Manni-Bucau
can you have a try with an up-to-date version of the plugin please? - Romain 2012/4/11 Achim Nierbeck bcanh...@googlemail.com yep, can be found here: - https://github.com/ANierbeck/test-diagram regards, Achim 2012/4/11 Romain Manni-Bucau rmannibu...@gmail.com: can you provide

Re: diagram generator

2012-04-11 Thread Romain Manni-Bucau
with the trunk and your settings (in particular the size) i got: http://img15.hostingpics.net/pics/599640camel.png - Romain 2012/4/11 Romain Manni-Bucau rmannibu...@gmail.com can you have a try with an up-to-date version of the plugin please? - Romain 2012/4/11 Achim Nierbeck bcanh

Re: diagram generator

2012-04-11 Thread Romain Manni-Bucau
than you for the report :) - Romain 2012/4/11 Achim Nierbeck bcanh...@googlemail.com ok, just pulled again, now it works also for me on my sample :) thanx a lot 2012/4/11 Romain Manni-Bucau rmannibu...@gmail.com: with the trunk and your settings (in particular the size) i got: http

Re: diagram generator

2012-04-11 Thread Romain Manni-Bucau
. Could you take a look? Thanx, Achim 2012/4/11 Romain Manni-Bucau rmannibu...@gmail.com: than you for the report :) - Romain 2012/4/11 Achim Nierbeck bcanh...@googlemail.com ok, just pulled again, now it works also for me on my sample :) thanx a lot 2012/4/11 Romain Manni

Re: diagram generator

2012-03-25 Thread Romain Manni-Bucau
/User+Stories On Fri, May 6, 2011 at 12:41 PM, Romain Manni-Bucau rmannibu...@gmail.com 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 modelise/generate the graph: http://www.mediafire.com

Re: diagram generator

2012-03-23 Thread Romain Manni-Bucau
-krfs:rmannibucau nestor$ mvn -v Apache Maven 2.2.1 (r801777; 2009-08-06 15:16:01-0400) Thanks! -Nestor On Thu, Mar 22, 2012 at 6:12 PM, Romain Manni-Bucau [via Camel] ml-node+s465427n5587959...@n5.nabble.com wrote: just pushed some changes: 1) the plugin name changed a bit to follow maven

Re: diagram generator

2012-03-23 Thread Romain Manni-Bucau
On Fri, Mar 23, 2012 at 11:20 AM, Romain Manni-Bucau [via Camel] ml-node+s465427n5589816...@n5.nabble.com wrote: you simply have to provide the maven-compiler-plugin and specify the version of target and source. if you don't want to put it everywhere you can use a parent pom. - Romain

  1   2   >