Visio stencil of the EIP patterns relooked for Apache Camel

2009-04-17 Thread Charles Moulliard
Hi, I have added a visio stencil file relooked of the EIP patterns to respect the color of Camel : Sand. http://cwiki.apache.org/CAMEL/enterprise-integration-patterns.html(resources section) Note that only a few icons have been retouched. I plan to finalize them next week. I have also add a new

Re: Visio stencil of the EIP patterns relooked for Apache Camel

2009-04-17 Thread Charles Moulliard
om/sites/all/files/riderAutoEips1_0.jpg ... but > never got started on it. I find graphical editing very painful :) Keep up > the amazing work! > > On Fri, Apr 17, 2009 at 9:38 AM, Charles Moulliard >wrote: > > > Hi, > > > > I have added a visio stencil file relooked of the

Re: Visio stencil of the EIP patterns relooked for Apache Camel

2009-04-17 Thread Charles Moulliard
Apr 17, 2009 at 11:25 AM, Charles Moulliard >wrote: > > > Jon, > > > > Many thanks for your support and also the inspiration of your beautiful > > icons. > > > > Here is a picture of what I have done for the second part of my tutorial > ( > >

Re: Visio stencil of the EIP patterns relooked for Apache Camel

2009-04-17 Thread Charles Moulliard
Ask to Karim Hossam who provide the logos + code source of ServiceMix ? On Fri, Apr 17, 2009 at 4:30 PM, Claus Ibsen wrote: > On Fri, Apr 17, 2009 at 4:24 PM, Charles Moulliard > wrote: > > A stock of images --> Servicemix logo are coming from : > > http://servicemix

Visio stencil of Camel EIP (work completed)

2009-04-20 Thread Charles Moulliard
Hi, I have added the new visio stencil file relooked of the EIP patterns to respect the color of Camel : Sand. http://cwiki.apache.org/CAMEL/enterprise-integration-patterns.html(resources section) All the EIP icons have been relooked ;-) Regards, Charles SOA Architect

Camel Spring DSL 2.0 - OSGI - osgix:cm-properties

2009-04-30 Thread Charles Moulliard
ext.java:175) at org.springframework.osgi.extender.internal.activator.ContextLoaderListener$2.run(ContextLoaderListener.java:716) at java.lang.Thread.run(Thread.java:619) Any idea to avoid this ? Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com

Camel 2.0 - pass uri reference using variable ${my_Uri}

2009-05-05 Thread Charles Moulliard
(1) Remarks : - ${file:name} is a camel property so we will have issues with Spring because ${ and } are reserved characters - The example provided here generates Camel error : see https://issues.apache.org/activemq/browse/CAMEL-1577 Regards, Charles Moulliard Senior Enterprise Architect

Re: Camel 2.0 - pass uri reference using variable ${my_Uri}

2009-05-05 Thread Charles Moulliard
p 4 : Adapt your route* Define the uri of your route like this : Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com On Tue, May 5, 2009 at 9:31 AM, Claus Ibsen wrote: > Hi > > Last time w

Classloading issue : SMX4 / Camel 2.0 / Camel-quickfix !!!!

2009-05-08 Thread Charles Moulliard
on}, org.apache.activemq.pool;${activemq.osgi.version}, Strange isn't it Regards Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com

Re: Classloading issue : SMX4 / Camel 2.0 / Camel-quickfix !!!!

2009-05-10 Thread Charles Moulliard
Hi, I have solved my problem. The camel routes declaration was erroneous. Must be Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer

No type converter available to convert from type: org.apache.camel.component.jms.JmsMessage to the required type: quickfix.Message

2009-05-11 Thread Charles Moulliard
a:52) at org.apache.camel.util.ExchangeHelper.getMandatoryInBody(ExchangeHelper.java:135) Questions : - Do I have to get the body from the JmsMessage before to call convertBody ? - Do I have to create in QuickFixConverter a method to handle this case ? Regards, Charles Moulliard Senior Enterprise Architect Apache Cam

Re: No type converter available to convert from type: org.apache.camel.component.jms.JmsMessage to the required type: quickfix.Message

2009-05-11 Thread Charles Moulliard
Claus, Here is what I created : @Converter public static Message toMessage(String message) throws IOException, InvalidMessage { return new Message(message); } in the class QuickFixConverter but the same error is reported Regards, Charles Moulliard Senior Enterprise

Re: No type converter available to convert from type: org.apache.camel.component.jms.JmsMessage to the required type: quickfix.Message

2009-05-11 Thread Charles Moulliard
Claus, Camel can find the quickfix converter. In my case, do I have to create a converter like JmsMessage --> quickFix.Message this instead of a String --> quickFix.Message because this is what camel says in the error ? Regards, Charles Moulliard Senior Enterprise Architect Apache

Re: No type converter available to convert from type: org.apache.camel.component.jms.JmsMessage to the required type: quickfix.Message

2009-05-11 Thread Charles Moulliard
with the modifications done in this class. Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com On Mon, May 11, 2009 at 10:04 AM, Charles Moulliard wrote: > Claus, > > Camel can find the quickfix converte

Re: No type converter available to convert from type: org.apache.camel.component.jms.JmsMessage to the required type: quickfix.Message

2009-05-11 Thread Charles Moulliard
Thanks. Temporary, I will uses two convertBody in my camel route : I will remove jms converter from the quickFix class/patch and have a look to HL7 dataformat ;-) Regards, Charles Moulliard Senior Enterprise Architect

Does it make sense to use a transactional client in this config ?

2009-05-12 Thread Charles Moulliard
occurs, it means that the messages must not be removed from the queue A or placed in error queue to check why information they contain cannot be inserted in the DB" Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com

Re: Does it make sense to use a transactional client in this config ?

2009-05-12 Thread Charles Moulliard
So the route + spring have to be declared like this : from(jms endpoint) (TX) .convertBodyTo() .transform() .to(bean service updating in the DB) (TX) .to(jms endpoint) (TX) Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http

Re: Does it make sense to use a transactional client in this config ?

2009-05-12 Thread Charles Moulliard
+1 I will try this on Apache Karaf/ServiceMix Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com On Tue, May 12, 2009 at 1:34 PM, Claus Ibsen wrote: > On Tue, May 12, 2009 at 1:30 PM, Charles Moulli

Transaction and Multicast() or to() AND to() ?

2009-05-19 Thread Charles Moulliard
multicast messages when we want that data updated/inserted DB are rollbacked if an error occurs during creation of the message on the queue OR messages removed from the queue if an errors occurs during DB update ? Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer

Re: Transaction and Multicast() or to() AND to() ?

2009-05-19 Thread Charles Moulliard
Thanks Claus. Additional question : Can two routes be part of the same transaction ? ex : Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com

If condition is met then we can continue the process ?

2009-05-19 Thread Charles Moulliard
t to do that. Is it possible to do what I describe in one transactional route ? Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com

Re: Transaction and Multicast() or to() AND to() ?

2009-05-19 Thread Charles Moulliard
+1. Do you confirm that transacted() must only be defines in the first route (see my example) ? Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com On Tue, May 19, 2009 at 10:03 AM, Claus Ibsen wrote: >

Re: If condition is met then we can continue the process ?

2009-05-19 Thread Charles Moulliard
property containing global status info "Orders accepted/Orders rejected") *.to(bean:SaveOrder)* *.end()* *.choice() .when(header("GlobalStatus").isEqualTo("Accepted")).to("queue:in:accepted") .when(header("GlobalStatus").isEqualTo(&q

Re: Transaction and Multicast() or to() AND to() ?

2009-05-19 Thread Charles Moulliard
Hi Willem, What do you mean here : "Current the JMS component doesn't provide the transaction support the InOut Message..." ? This text is not clear Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoullia

Re: If condition is met then we can continue the process ?

2009-05-19 Thread Charles Moulliard
For sure, otherwise is missing. Thxs for all these clarifications. Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com On Tue, May 19, 2009 at 11:30 AM, Claus Ibsen wrote: > On Tue, May 19, 2009 at 11:21

Re: Transaction and Multicast() or to() AND to() ?

2009-05-19 Thread Charles Moulliard
. Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com On Tue, May 19, 2009 at 11:41 AM, Willem Jiang wrote: > Hi Charles, > > camel-jms doesn't support to handle the InOut Messa

[Feedback from users] JDO - OODBMS and Camel

2009-05-19 Thread Charles Moulliard
perhaps mush more interesting because objects are stored in a RDBMS and JDO is supported by Spring. I can also done queries top of my DB. Can I use JDO to also perform my SQL queries ? Probably yes but is it interesting ? Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer

Re: If condition is met then we can continue the process ?

2009-05-19 Thread Charles Moulliard
How can I represent this : split((body(), new MyOrderStrategy()) in EIP Icon split followed by an aggregator icon ? How to represent the end in EIP ? Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com On

Re: If condition is met then we can continue the process ?

2009-05-25 Thread Charles Moulliard
ot;) .when(header("GlobalStatus").isEqualTo("Rejected")).to("queue:reporting")* Charles Moulliard Senior Enterprise Architect Apache Camel Committer ***** blog : http://cmoulliard.blogspot.com On Tue, May 19, 2009 at 11:21 AM, Ch

Parameter true/false in spring DSL to activate/disabled the tracing

2009-06-05 Thread Charles Moulliard
Hi, Is there a possibility to use a parameter in camel spring DSL to activate/disabled the tracing of the camel context ? idea $flag = "true" http://camel.apache.org/schema/osgi "> ... Regards, Charles Moulliard Senior Enterprise Architect Apac

Header name variable changed from message_type to message.type

2009-06-05 Thread Charles Moulliard
-14:02:09,10,1287.44 here is the route : http://camel.apache.org/schema/osgi";> file OINP Charles Moulliard Senior E

Re: Documenting the Camel DSL

2009-06-07 Thread Charles Moulliard
Where is the page ? Have you already had a look to this javadoc page : http://camel.apache.org/maven/camel-spring/xsddoc/http___activemq.apache.org_camel_schema_spring/complexType/outputType.html? Maybe this could be helpful too ? Regards, Charles Moulliard Senior Enterprise Architect Apache

Re: Documenting the Camel DSL

2009-06-07 Thread Charles Moulliard
route | |** from("direct:a") | |` http://camel.apache.org/pipes-and-filters.html* Where can we find the link between the tag name (ex : from()) and the piece of code implementing the DSL action ? Regards, Charles Moulliard Senior Enterprise Architect Apache Camel

Re: Documenting the Camel DSL

2009-06-07 Thread Charles Moulliard
bal / General - bean - choice - from - to - convertBodyTo - marshal - unmarshal - try/catch/finally - transacted - when B. EIP related - aggregate - delayer - filter - multicast - splitter - throttler Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Commit

What is the correct syntax for try/catch in camel spring DSL

2009-06-08 Thread Charles Moulliard
camel.apache.org/schema/spring":throwException, " http://camel.apache.org/schema/spring":to, " http://camel.apache.org/schema/spring":transacted, " http://camel.apache.org/schema/spring":transform, " http://camel.apache.org/schema/spring":doTry, " http://camel.apache.org/schema/spring":unmarshal, " http://camel.apache.org/schema/spring":wireTap}' is expected. So what is the correct as the wiki page is different from schema definition! Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com

Re: What is the correct syntax for try/catch in camel spring DSL

2009-06-08 Thread Charles Moulliard
The camel 2.0 snapshot schema ( http://camel.apache.org/schema/spring/camel-spring-2.0-SNAPSHOT.xsd) does not propose doTry, doCatch BUT : try, catch which is different from the documentation page Charles Moulliard Senior Enterprise Architect Apache Camel Committer

Re: What is the correct syntax for try/catch in camel spring DSL

2009-06-08 Thread Charles Moulliard
Thx. It works with doTry, doCatch I was confused about maven spring camel file and the doc. Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com On Mon, Jun 8, 2009 at 2:37 PM, Claus Ibsen wrote: >

Re: Documenting the Camel DSL

2009-06-08 Thread Charles Moulliard
Hi Christian, I prefer to keep the links of the EIP in this page even if they point to the existing page for consistency reason. Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com On Tue, Jun 9

@Handler, @Body, @Header : question

2009-06-09 Thread Charles Moulliard
e exchange) { // process the in body and return whatever you want return "Bye World"; } Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com

Re: @Handler, @Body, @Header : question

2009-06-09 Thread Charles Moulliard
In which package is defined this annotation (@handler) ? What will happen if we have several @handler defined in a class ? Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com On Tue, Jun 9, 2009 at 10:13 AM

Re: @Handler, @Body, @Header : question

2009-06-09 Thread Charles Moulliard
I was using camel 2.0-M1 where this annotation does not exist. I have switched to 2.0-SNAPSHOT. Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com On Tue, Jun 9, 2009 at 10:34 AM, Claus Ibsen wrote

Re: Documenting the Camel DSL

2009-06-12 Thread Charles Moulliard
necessary to simplify job of developers working on a project and avoid that they spend too much time to find info. Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com On Fri, Jun 12, 2009 at 1:00 PM

Aggregation error with Spring DSL

2009-06-15 Thread Charles Moulliard
do that ? Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com

Re: Aggregation error with Spring DSL

2009-06-16 Thread Charles Moulliard
); // Add to the exchange oldExchange.getOut().setBody(requestMessages); return newExchange; } } but no ArrayList are propagated after the split(). Where is the issue ? Charles Moulliard Senior Enterprise Architect Apache Camel Committer

Re: Aggregation error with Spring DSL

2009-06-16 Thread Charles Moulliard
Shame on me. I do too much things at the same time. oldExchange.getOut().setBody(requestMessages); return newExchange; --> return oldExchange; Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com On Tue,

Information required about IN/OUT pattern of splitter EIP

2009-06-16 Thread Charles Moulliard
after the end of the split receives the List of Objects. How can I avoid this ? Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com

Why reference to bean methods called are not displayed in the log of camel for split

2009-06-16 Thread Charles Moulliard
he route : request.body Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com

Re: Information required about IN/OUT pattern of splitter EIP

2009-06-16 Thread Charles Moulliard
What do you mean by 1 = OUT, 2+ = IN ? Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com On Tue, Jun 16, 2009 at 4:03 PM, Claus Ibsen wrote: > [15:59] chm007 its because of using AggregatorStrategy

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

2009-06-18 Thread Charles Moulliard
e the content into a collection of Objects. The result is saved into the object Request because it is not possible to do this without loosing the Request object Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog :

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 Charles Moulliard
For me too. Camel bindy uses the echange for classloading of the model classes and use converter BTW, I think that I will create a BindyContext (like JAXBcontext) that I could use to parse the messages without Camel Charles Moulliard Senior Enterprise Architect Apache Camel Committer

Re: Information required about IN/OUT pattern of splitter EIP

2009-06-22 Thread Charles Moulliard
y then the body is > now always in IN and OUT is null. > This eliminates the confusion as you should just always use IN. > > > On Tue, Jun 16, 2009 at 4:16 PM, Claus Ibsen > wrote: > > > On Tue, Jun 16, 2009 at 4:10 PM, Charles Moulliard > > wrote: > > > What d

Can we retrieve an endpoint using the id ?

2009-06-26 Thread Charles Moulliard
hi, Can we retrieve an endpoint using the id defined in a Spring XML file? idea : exchange.getcontext().getEndpointId() Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com

Re: Can we retrieve an endpoint using the id ?

2009-06-26 Thread Charles Moulliard
How can I get the SpringCamelBuilder in a POJO. Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com On Fri, Jun 26, 2009 at 3:50 PM, Willem Jiang wrote: > Hi Charles, > > SpringCamelBuil

Re: Can we retrieve an endpoint using the id ?

2009-06-26 Thread Charles Moulliard
Thx. Can a java POJO/Bean obtain the camel context without using the exchange (exchange.getContext()) object ? Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com On Fri, Jun 26, 2009 at 5:26 PM, Claus Ibsen

Re: Can we retrieve an endpoint using the id ?

2009-06-29 Thread Charles Moulliard
Is it not a bit overkill to pass CamelContext, Registry object to every method of a POJO to have access to route, endpoints, ... information ? Why can't we call (like in JNDI) a utility class to have access to the CamelContext, Registry published ? Regards, Charles Moulliard Senior Enter

Re: Can we retrieve an endpoint using the id ?

2009-06-29 Thread Charles Moulliard
as the JNDI, but I > don't know how to get the JNDI context from your POJO. Can you get me > some hits ;) > > Willem > > > Charles Moulliard wrote: > > Is it not a bit overkill to pass CamelContext, Registry object to every > > method of a POJO to have access t

Strange issue with Camel 2.0/JMS/POJO

2009-06-30 Thread Charles Moulliard
disabled temporary the convertBody after reading message from the queue but the problem is the same if I use it Can the error be related to InOut or InOnly process of the queue called before to go to the bean transformNotificationMessage ? Regards, Charles Moulliard Senior Enterprise Architect Apache

Re: Strange issue with Camel 2.0/JMS/POJO

2009-06-30 Thread Charles Moulliard
like this : Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com On Tue, Jun 30, 2009 at 4:55 PM, Willem Jiang wrote: > Hi Charles, > > I guess the error may relat

Uri file endpoint question - Camel 2.x

2009-07-01 Thread Charles Moulliard
(The filename, directory name, or volume label syntax is incorrect) Where is the issue ? Regards Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com

Re: Uri file endpoint question - Camel 2.x

2009-07-01 Thread Charles Moulliard
Sorry for my mistake ;-) Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com On Wed, Jul 1, 2009 at 10:46 AM, Claus Ibsen wrote: > On Wed, Jul 1, 2009 at 10:33 AM, Charles Moulliard > wrote:

Error using Transacted with Camel 2.0

2009-07-02 Thread Charles Moulliard
(DefaultCamelContext.java:863) at org.apache.camel.spring.SpringCamelContext.maybeStart(SpringCamelContext.java:99) at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:119) Charles Moulliard Senior Enterprise Architect Apache Camel Committer

Re: Error using Transacted with Camel 2.0

2009-07-02 Thread Charles Moulliard
358) Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com On Thu, Jul 2, 2009 at 3:47 PM, Charles Moulliard wrote: > Camel generates the following error with my r

Re: Error using Transacted with Camel 2.0

2009-07-02 Thread Charles Moulliard
the same using a JtaTransaction manager ? Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com On Thu, Jul 2, 2009 at 3:57 PM, Claus Ibsen wrote: > Hi > > Yeah you need to add all the spring

Re: Error using Transacted with Camel 2.0

2009-07-02 Thread Charles Moulliard
the DB and 6 records have been created by the method createNotification when error has been raised by the method generateError. What is missing ? Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com On Thu, Jul 2

Re: Error using Transacted with Camel 2.0

2009-07-02 Thread Charles Moulliard
ether : org.springframework.transaction.PlatformTransactionManager Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com On Thu, Jul 2, 2009 at 4:46 PM, Claus Ibsen wrote: > Transacted also have a ref attribute >

Re: Error using Transacted with Camel 2.0

2009-07-02 Thread Charles Moulliard
/%3cb23ecedc0904020615y55df4d0fhb303a2ea22df7...@mail.gmail.com%3e Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com On Thu, Jul 2, 2009 at 4:56 PM, Claus Ibsen wrote: > On Thu, Jul 2, 2009 at 4:53 PM, Charles Moulliard >

Re: tutorial-osgi-camel-part1

2009-07-03 Thread Charles Moulliard
Check also the log file to be sure that no errors are reported during launch of the bundles mentioned. Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com On Fri, Jul 3, 2009 at 4:21 AM, Willem Jiang

Camel Transaction and errorHandlerRef question

2009-07-03 Thread Charles Moulliard
? // Here // OR HERE Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com

maxRedlivery and Transactional client does not work

2009-07-03 Thread Charles Moulliard
, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com

Re: Error using Transacted with Camel 2.0

2009-07-03 Thread Charles Moulliard
4) Route Any ideas are welcome Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com On Thu, Jul 2, 2009

Re: maxRedlivery and Transactional client does not work

2009-07-03 Thread Charles Moulliard
http://camel.apache.org/schema/spring";> Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com On Fri, Jul 3, 2009 at 10:01 AM, Claus Ibsen wro

Re: maxRedlivery and Transactional client does not work

2009-07-03 Thread Charles Moulliard
With this config in ActiveMq, it works and redelivery only one time the message : Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com On Fri, Jul 3

Re: Error using Transacted with Camel 2.0

2009-07-03 Thread Charles Moulliard
and recovery of messages (persisted in the case of activemq), messages will be reprocessed. Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com On Fri, Jul 3, 2009 at 10:26 AM, Claus Ibsen wrote: >

Transaction propagation between endpoints

2009-07-03 Thread Charles Moulliard
he two services called Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com

Re: Transaction propagation between endpoints

2009-07-03 Thread Charles Moulliard
.to(bean:saveRequest) // commit done (if no error occurs during saveRequest) // Transaction starts .to(bean:saveRequestMessage) // commit done .to(queueB) Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http

Re: Error using Transacted with Camel 2.0

2009-07-03 Thread Charles Moulliard
I see that when the error is throw the message is redelivered a second time as this parameter has been defined in the ActiveMq ** Question : Why policy defined in the ActiveMq is taken into account here ? Why the rollback does not occur ? Char

Re: Error using Transacted with Camel 2.0

2009-07-03 Thread Charles Moulliard
g transaction commit 15:31:53,484 | DEBUG | tenerContainer-3 | JtaTransactionManager| stractPlatformTransactionManager 371 | Creating new transaction with name [null]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT 15:31:53,500 | DEBUG | nitor W But the transaction with the DB is

Re: Error using Transacted with Camel 2.0

2009-07-03 Thread Charles Moulliard
: PROPAGATION_REQUIRED Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com On Fri, Jul 3, 2009 at 3:52 PM, Guillaume Nodet wrote: > If the message is redelivered, this me

Re: Error using Transacted with Camel 2.0

2009-07-03 Thread Charles Moulliard
eptor\TransactionalClientDataSourceTest.java, two DB calls are made by two different beans and rollback is done !! Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com On Fri, Jul 3, 2009 at 3:56 PM, Claus Ibsen

Re: Error using Transacted with Camel 2.0

2009-07-03 Thread Charles Moulliard
OK. I will change my config to use a separate TransactionManager for DB stuffs. My idea was to use the same transaction manager (JTA) in the application for JMS, DB, ... transactions but If this is not possible ... Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer

Re: Error using Transacted with Camel 2.0

2009-07-03 Thread Charles Moulliard
ive ] [ ] [ 60] activemq-console (5.2.0) [ 68] [Active ] [ ] [ 60] activemq-pool (5.2.0) [ 75] [Active ] [ ] [ 60] activemq-camel (5.2.0) [ 90] [Active ] [ ] [ 60] x3s-activemq (1.0.0.SNAPSHOT) Charles Moulliard Senior Enterprise Arc

Re: Error using Transacted with Camel 2.0

2009-07-03 Thread Charles Moulliard
solution to use the JTATransactionManager Guillaume, you are welcome ;-) Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com On Fri, Jul 3, 2009 at 4:14 PM, Charles Moulliard wrote: > OK. I will change my con

Re: Error using Transacted with Camel 2.0

2009-07-03 Thread Charles Moulliard
so on. That was my philosophy since the beginning of this project. I will have a look to the TransactionErrorHandler to see if we can change something to work with both kind of implementations (local or global). Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Comm

Re: Have anybody here tried the tutorial-osgi-camel-part2?

2009-07-06 Thread Charles Moulliard
version of the OSGI server you are using for this test ? Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com On Fri, Jul 3, 2009 at 9:21 PM, Kevin.Zhang wrote: > > I followed the tutorial we

Re: Have anybody here tried the tutorial-osgi-camel-part2?

2009-07-06 Thread Charles Moulliard
Hi, The file that you mention is part of the project reportincident.persistence : reportincident.persistence\META-INF\spring\spring-datasource-beans.xml Can you show me the list of bundles installed on your servicemix server please ? regards, Charles Moulliard Senior Enterprise Architect

Re: Have anybody here tried the tutorial-osgi-camel-part2?

2009-07-07 Thread Charles Moulliard
Service (1.0.0.SNAPSHOT) [ 113] [Resolved ] [ ] [ 60] Report Incident Model Bundle Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com On Mon, Jul 6, 2009 at 6:25 PM, Kevin.Zhang wrote: > >

Re: Error using Transacted with Camel 2.0

2009-07-07 Thread Charles Moulliard
DEBUG | 0: FileComponent | nager$$EnhancerByCGLIB$$4cb40106 | stractPlatformTransactionManager 821 | Initiating transaction rollback No insert is done in the DB Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.bl

Apache Felix Karaf must be restarted to remove lock on a file consumed in a camel route

2009-07-07 Thread Charles Moulliard
Hi, If for any reason, the message (= file) consumed from a File endpoint cannot be processed (e.g transaction not committed from a bean), than the lock on the file is not removed even if I stop the bundle and Apache Karaf must be restarted to remove/delete the lock Regards, Charles Moulliard

Re: Have anybody here tried the tutorial-osgi-camel-part2?

2009-07-07 Thread Charles Moulliard
ly if you have a copy of the following project : http://svn.apache.org/repos/asf/servicemix/smx4/bundles/trunk/dom4j-1.6 Can you review this ? Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com On Tue

Re: Have anybody here tried the tutorial-osgi-camel-part2?

2009-07-08 Thread Charles Moulliard
you point to your settings.xml file configured for your local maven repository : org.ops4j.pax.url.mvn.settings=C:/Documents and Settings/chzhang/.m2/settings.xml next try to reinstall or use features command Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer

Re: Apache Felix Karaf must be restarted to remove lock on a file consumed in a camel route

2009-07-08 Thread Charles Moulliard
009 at 4:43 PM, Claus Ibsen wrote: > > Hi > > > > Charles I am fixing it now. See CAMEL-1808 > > https://issues.apache.org/activemq/browse/CAMEL-1808 > > > > Then the default settings for file will not use java FileLock anymore. > > > > On Tue, Jul 7,

Re: Have anybody here tried the tutorial-osgi-camel-part2?

2009-07-08 Thread Charles Moulliard
Error appears in your copy/paste mvn:org.antlr/com.springsource.antlr/2.7 .7 You can't install a required bundle of Hibernate wich is antlr. I work on Windows XP Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog :

Re: Full integration example from a CSV files to a JMS queue

2009-07-08 Thread Charles Moulliard
Great stuff Julien, Don't hesitate to have also a look to camel-bindy http://camel.apache.org/bindy.html. It will simplify your life in term of binding csv to your model object, ... Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer *

Is message of RollbackProcessor class mandatory - camel 2.0 ?

2009-07-09 Thread Charles Moulliard
RollbackProcessor mandatory now ? Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com

Re: Is message of RollbackProcessor class mandatory - camel 2.0 ?

2009-07-09 Thread Charles Moulliard
org.apache.camel.spring.spi.TransactionErrorHandler.access$101(TransactionErrorHandler.java:41) at org.apache.camel.spring.spi.TransactionErrorHandler$1.doInTransactionWithoutResult(TransactionErrorHandler.java:114) Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http

Re: Is message of RollbackProcessor class mandatory - camel 2.0 ?

2009-07-09 Thread Charles Moulliard
I will change my route and retest Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com On Thu, Jul 9, 2009 at 1:38 PM, Claus Ibsen wrote: > On Thu, Jul 9, 2009 at 1:11 PM, Charles Moulliard > wrote:

Re: Is message of RollbackProcessor class mandatory - camel 2.0 ?

2009-07-09 Thread Charles Moulliard
Strange. It was working beginning of this week. Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com On Thu, Jul 9, 2009 at 1:43 PM, Charles Moulliard wrote: > I will change

Re: Have anybody here tried the tutorial-osgi-camel-part2?

2009-07-10 Thread Charles Moulliard
has moved to Apache Felix Karaf and no official build is available for the moment. You have to build it. Regards, Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com On Thu, Jul 9, 2009 at 9:07

Re: Have anybody here tried the tutorial-osgi-camel-part2?

2009-07-10 Thread Charles Moulliard
Hi Kevin, I have already updated the code of the tutorial on the wiki page. How can I send to you a zip of 57 Mb ? Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com On Fri, Jul 10, 2009 at 5:32 PM

  1   2   3   4   5   6   7   8   9   >