Re: File Component Changes In Camel 2.0-M2

2009-07-16 Thread Claus Ibsen
ote file strategy: >>> > >>> org.apache.camel.component.file.strategy.genericfiledeleteprocessstrat...@1b5438dfor >>> > file: GenericFile[c:\ufm\upload\UFM.png] >>> > DEBUG - FileConsumer               - Total 1 files to consume >>> &

Re: File Component Changes In Camel 2.0-M2

2009-07-16 Thread Claus Ibsen
in the previous camel versions. >> >> >> >> >> >> On Thu, Jul 16, 2009 at 4:20 PM, Claus Ibsen > >wrote: >> >> >> >>> On Thu, Jul 16, 2009 at 10:16 AM, Carlo Camerino< >> car...@sxchange.com.ph> >> >>> w

Re: File Component Changes In Camel 2.0-M2

2009-07-16 Thread Carlo Camerino
eted. > >>> http://camel.apache.org/error-handling-in-camel.html > >>> > >>> > >>> > >>> > > >>> > Thanks > >>> > > >>> > On Thu, Jul 16, 2009 at 3:59 PM, Carlo Camerino < >

Re: File Component Changes In Camel 2.0-M2

2009-07-16 Thread Claus Ibsen
t;>> >>> >>> >>> >>> On Thu, Jul 16, 2009 at 9:49 AM, Carlo Camerino< >>> car...@sxchange.com.ph> >>> >>> wrote: >>> >>> > are my routes being picked up

Re: File Component Changes In Camel 2.0-M2

2009-07-16 Thread Carlo Camerino
ian.ufm.routes] >> >>> > DEBUG - ltPackageScanClassResolver - Loading from directory: >> >>> > >> >>> >> C:\PROJECTS\CHINABANK\cbc-carnelian\carnelian-parent\carnelian-ufm\target\classes\com\ccti\carnelian\ufm\routes &g

Re: File Component Changes In Camel 2.0-M2

2009-07-16 Thread Carlo Camerino
s > >>> > com.ccti.carnelian.ufm.routes.QueueRouteBuilder] > >>> > Hibernate: update TBL_USER set IS_LOGIN=0 > >>> > DEBUG - SpringCamelContext - Publishing spring-event: > >>> > > >>> > org.springframework.cont

Re: File Component Changes In Camel 2.0-M2

2009-07-16 Thread Carlo Camerino
update TBL_USER set IS_LOGIN=0 >> > DEBUG - SpringCamelContext - Publishing spring-event: >> > >> org.springframework.context.event.contextrefreshedevent[source=org.springframework.web.context.support.xmlwebapplicationcont...@1b17d49 >> : >>

Re: File Component Changes In Camel 2.0-M2

2009-07-16 Thread Claus Ibsen
UG - SpringCamelContext         - Publishing spring-event: >>> > >>> org.springframework.context.event.contextrefreshedevent[source=org.springframework.web.context.support.xmlwebapplicationcont...@1b17d49 >>> : >>> > display name [Root WebApp

Re: File Component Changes In Camel 2.0-M2

2009-07-16 Thread Carlo Camerino
.xmlwebapplicationcont...@1b17d49 > : > > display name [Root WebApplicationContext]; startup date [Thu Jul 16 > 15:46:19 > > SGT 2009]; root of context hierarchy] > > DEBUG - SpringCamelContext - Starting the CamelContext now that > the > > Appl

Re: File Component Changes In Camel 2.0-M2

2009-07-16 Thread Claus Ibsen
ot WebApplicationContext]; startup date [Thu Jul 16 15:46:19 > SGT 2009]; root of context hierarchy] > DEBUG - SpringCamelContext         - Starting the CamelContext now that the > ApplicationContext has started > INFO  - DefaultCamelContext        - Apache Camel 2.0-M2 > (Cam

Re: File Component Changes In Camel 2.0-M2

2009-07-16 Thread Carlo Camerino
ApplicationContext has started INFO - DefaultCamelContext- Apache Camel 2.0-M2 (CamelContext:camelContext) is starting DEBUG - DefaultProducerServicePool - Starting service pool: org.apache.camel.impl.defaultproducerservicep...@14c0761 DEBUG - DefaultCamelContext- StreamCaching is

Re: File Component Changes In Camel 2.0-M2

2009-07-16 Thread Claus Ibsen
odel.setCoverName(exchange.getIn().getHeader(" >> >> org.apache.camel.file.name").toString()); >> >>                         defaultMessage.setBody(fileModel); >> >>                         exchange.setOut(defaultMessage); >> >>            

Re: File Component Changes In Camel 2.0-M2

2009-07-16 Thread Carlo Camerino
} > >> } > >> > >> private void logExchangeDetails(Exchange exchange) { > >> if(logger.isDebugEnabled()) { > >> logger.debug(exchange.getIn() + ""); > >> &

Re: File Component Changes In Camel 2.0-M2

2009-07-15 Thread Claus Ibsen
) { >>                         logger.debug(exchange.getIn() + ""); >> >> logger.debug(exchange.getIn().getClass().getName()); >>                         logger.debug(exchange.getIn().getHeader(" >> org.apache.camel.file.name").toString()); >>          

Re: File Component Changes In Camel 2.0-M2

2009-07-15 Thread Carlo Camerino
t; logger.debug(exchange.getIn().getHeader(" > org.apache.camel.file.name").toString()); > logger.debug(exchange.getOut() + ""); > } > } > > }).to("direct:p

Re: File Component Changes In Camel 2.0-M2

2009-07-15 Thread Carlo Camerino
Advance On Thu, Jul 16, 2009 at 1:02 PM, Claus Ibsen wrote: > Hi > > On Thu, Jul 16, 2009 at 6:29 AM, Carlo Camerino > wrote: > > hi, > > > > i'm currently using file component in camel 2.0-M2. I'm finding out that > > it's not working properly al

Re: File Component Changes In Camel 2.0-M2

2009-07-15 Thread Claus Ibsen
Hi On Thu, Jul 16, 2009 at 6:29 AM, Carlo Camerino wrote: > hi, > > i'm currently using file component in camel 2.0-M2. I'm finding out that > it's not working properly already unlike in camel 1.6 below. > is there any changes that I need to be implemented? >

File Component Changes In Camel 2.0-M2

2009-07-15 Thread Carlo Camerino
hi, i'm currently using file component in camel 2.0-M2. I'm finding out that it's not working properly already unlike in camel 1.6 below. is there any changes that I need to be implemented? The same route that I used for Camel 1.5 is not working for camel 2.0-M2 It's not g

Re: Multiple camelContext elements in camel 2.0.m2 Spring DSL

2009-07-01 Thread Claus Ibsen
ossible to break it up into >>>>> multiple Spring context files under separate camelContext definitions >>>>> for >>>>> better readability/maintainability? >>>> >>>> How is your application loading the spring xml files? >>>&

Re: Multiple camelContext elements in camel 2.0.m2 Spring DSL

2009-07-01 Thread sriramch
is your application loading the spring xml files? >>> if its the web.xml then you can define a list of spring xml files there. >>> >>> You can also use in a single xml file that then imports >>> other xml files. >>> >>> So yeah it shou

Re: Multiple camelContext elements in camel 2.0.m2 Spring DSL

2009-07-01 Thread Claus Ibsen
>> if its the web.xml then you can define a list of spring xml files there. >> >> You can also use in a single xml file that then imports >> other xml files. >> >> So yeah it should be possible, just the way you would mange a large >> pure s

Re: camel 2.0-M2 regex bug

2009-07-01 Thread Claus Ibsen
;) .choice() .when(body(String.class).regex("^0.*$")).to("mock:result") .otherwise().to("mock:other") .end(); > > Anyone know a workaround for this? > I need a body(String.class).startsWith("0") or

Re: Multiple camelContext elements in camel 2.0.m2 Spring DSL

2009-07-01 Thread sriramch
; Claus Ibsen > Apache Camel Committer > > Open Source Integration: http://fusesource.com > Blog: http://davsclaus.blogspot.com/ > Twitter: http://twitter.com/davsclaus > > -- View this message in context: http://www.nabble.com/Multiple-camelContext-elements-in-camel-2.0.m2-Spring-DSL-tp24293351p24295045.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel 2.0-M2 regex bug

2009-07-01 Thread Claus Ibsen
or this? > I need a body(String.class).startsWith("0") or similar... In file processor > this is very usefull... Yeah good idea lets add those predicates to the builder as well. startsWith/endsWith/constains (I think its already there) > -- > View this message in context: >

camel 2.0-M2 regex bug

2009-07-01 Thread Rodrigo Valerio
This regex is to verify if the line starts with "0". Anyone know a workaround for this? I need a body(String.class).startsWith("0") or similar... In file processor this is very usefull... -- View this message in context: http://www.nabble.com/camel-2.0-M2-regex-bug-tp24294888

Re: Multiple camelContext elements in camel 2.0.m2 Spring DSL

2009-07-01 Thread Claus Ibsen
ports other xml files. So yeah it should be possible, just the way you would mange a large pure spring app with many spring beans. > > Thanks > Sriram > -- > View this message in context: > http://www.nabble.com/Multiple-camelContext-elements-in-camel-2.0.m2-Spring-DSL-tp24293351

Multiple camelContext elements in camel 2.0.m2 Spring DSL

2009-07-01 Thread sriramch
etter readability/maintainability? Thanks Sriram -- View this message in context: http://www.nabble.com/Multiple-camelContext-elements-in-camel-2.0.m2-Spring-DSL-tp24293351p24293351.html Sent from the Camel - Users mailing list archive at Nabble.com.

[ANN] Apache Camel 2.0-M2 Released

2009-06-15 Thread Hadrian Zbarcea
We are pleased to introduce the Apache Camel 2.0-M2 release [1] with approx 222 issues resolved. This will probably be the last milestone release and the the final 2.0 will follow soon. The api changed from the 1.x version, but is now stable and we don't anticipate any changes i

Re: Camel 2.0-M2

2009-05-11 Thread Claus Ibsen
On Mon, May 11, 2009 at 11:10 AM, Guillaume Renault wrote: > Hi users, > > I saw on the dev list that you voted for a M2 of Camel 2. I'm actually > working on the SNAPSHOT version as i need the improvement i suggested in > camel-osgi to use the DefaultCamelContext factory, and it works fine, thx :

Camel 2.0-M2

2009-05-11 Thread Guillaume Renault
Hi users, I saw on the dev list that you voted for a M2 of Camel 2. I'm actually working on the SNAPSHOT version as i need the improvement i suggested in camel-osgi to use the DefaultCamelContext factory, and it works fine, thx :) Do you have a date for this future version ? (or the 1.6.1 ver