Re: Cant copy file from one directory to another within camel/activemq/spring

2010-04-19 Thread Claus Ibsen
ilable to convert from type: org.apache.camel.component.file.GenericFile > to the required type: java.io.InputStream with value > GenericFile[twitter_results.xml]] >        at > org.apache.camel.impl.MessageSupport.getMandatoryBody(MessageSupport.java:103) >        at > org.a

Re: Graceful shutdown of Camel-Jetty component. (Camel 2.2.0)

2010-04-20 Thread Claus Ibsen
work with your load balancer? For example HTTP error 503 503 Service Unavailable This is easy to implement in camel-jetty. On Tue, Apr 20, 2010 at 7:13 AM, Claus Ibsen wrote: > Hi > > camel-jetty does not currently support shutting down by stopping > intaking new requests while allow

Re: Quickfix send/receive messages in both directions

2010-04-20 Thread Claus Ibsen
> Regards, > > Steve Bate > -- > View this message in context: > http://old.nabble.com/Quickfix-send-receive-messages-in-both-directions-tp27855316p28268960.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: Load Balancer Clarification

2010-04-20 Thread Claus Ibsen
se it. Can you tell the difference if the printer is out of toner, or some other condition? We could enhance it with the redeliverUntil predicate so you can determine in the predicate to retry or give up. > Thanks, > Martin > > [1]http://camel.apache.org/load-balancer.html >

Re: Problem with spring / camel integration

2010-04-20 Thread Claus Ibsen
camel.NoTypeConversionAvailableException - No type converter > available to convert from type: org.apache.camel.component.file.GenericFile > to the required type: java.io.InputStream with value > GenericFile[twitter_results.xml]] >    at > org.apache.camel.impl.MessageSupport.getMandatoryBody(MessageSupport.java:103) >    at > org.apache.came

Re: SFTP rename problems

2010-04-20 Thread Claus Ibsen
of throwing it as an ERROR in the log. I will look into this. But if you stop having the file opened then the SFTP component should be able to rename the file on the next pool. Or a bit thereafter until the Windows file system allows to rename the file again. > > > > Claus Ibsen-2

Re: SFTP rename problems

2010-04-20 Thread Claus Ibsen
Hi I tacked down an issue in the camel-core https://issues.apache.org/activemq/browse/CAMEL-2662 Can you try to test with latest code on your system? On Wed, Apr 21, 2010 at 6:13 AM, Claus Ibsen wrote: > On Wed, Apr 21, 2010 at 3:31 AM, watcher wrote: >> >> I tried upgr

Re: Graceful shutdown of Camel-Jetty component. (Camel 2.2.0)

2010-04-21 Thread Claus Ibsen
t we are about to shutdown via healthcheck page first, and so it > should stop redirecting new requests to the machine in question. > Eventually, all the in flight exchanges will finish, and the machine > can be completely shutdown. > > Thanks again, > > Ilya. > -- Cla

Re: What is the usage for the spring element?

2010-04-21 Thread Claus Ibsen
use, as you dont need to mess with spring propagation policies and whatnot if you just want the default cases. Camel in Action chapter 9 covers transaction in great deals. > Thanks for any suggestion > > > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http:

Re: Remote broker message behavior

2010-04-21 Thread Claus Ibsen
messages in these queues using camel > routes?  Really what I most need fixed is to not lose the body of the > message in the error queue. > > -JF > -- > View this message in context: > http://old.nabble.com/Remote-broker-message-behavior-tp28287920p28287920.html > Sent

Re: How implement customed transaction section in camel?

2010-04-21 Thread Claus Ibsen
ipeline(required-tx) -->[dotry-->pipeline(new-tx)-->[(table > A)-->(table B)]-->docatch-->log]; > > If camel could assign a transaction-policy to single pipe-line process , > this feature could be achieved easily; > > > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: Graceful shutdown of Camel-Jetty component. (Camel 2.2.0)

2010-04-21 Thread Claus Ibsen
n the latest snapshot yet. >> >> Thank you. >> >> Ilya. >> >> On Wed, Apr 21, 2010 at 2:10 AM, Claus Ibsen wrote: >>> Hi >>> >>> I have just committed this to trunk. >>> >>> camel-jetty will now return 503 when shutti

Re: Is this a bug of try-catch or transaction?

2010-04-22 Thread Claus Ibsen
rbean(just after ibatis) raise error, > so the pipeline will marked as rollback status, but the exception is still > exist, and the catch clause will be execute.And in camel, doCatch cannot be > execute; > > > -- Claus Ibsen Apache Camel Committer Author of Camel i

Re: XPath Spliiter Problem

2010-04-22 Thread Claus Ibsen
    >                 >         > > > The result I get is : abc > > I also want abc123 and abcqqq in the result. > > Can anyone help me out ? > > Thank You. > -- > View this message in context: > http://old.nabble.com/XPath-Spliiter-Problem-tp28325959p2

Re: XPath Spliiter Problem

2010-04-22 Thread Claus Ibsen
cerpts from the whole stack trace. > > > > Claus Ibsen-2 wrote: >> >> Do not use resultType="java.lang.String" >> >> By default it uses some XPath standard type (NODESET) which is defined in >> javax.xml.xpath.XPathConstants >> >> The NODES

Re: XPath Spliiter Problem

2010-04-22 Thread Claus Ibsen
t; There is not much overhead in a bean / processor than the convertBodyTo You gotta do the same, convert the XPath result to something that can be streamed to a file. I have created a ticket to create type converters out of the box in Camel https://issues.apache.org/activemq/browse/CAMEL-2669 &g

Re: does camel support custom policy for processor level ?

2010-04-22 Thread Claus Ibsen
figure such policy using spring? Or just dsl? >> >> Willem >> >> ext2 wrote: >>> Hi: >>>      Camel policy is very useful to define some custom wrapper features; >>> But in camel 2.2 , it seems the policy only apply on the whole route; And >&g

Re: Handle finite number of remote requests?

2010-04-22 Thread Claus Ibsen
n Nawrocki > > -- > View this message in context: > http://old.nabble.com/Handle-finite-number-of-remote-requests--tp28301621p28301621.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Author of Ca

Re: Split Body in Spring DSL

2010-04-22 Thread Claus Ibsen
On Wed, Apr 21, 2010 at 9:23 PM, Olivier Roger wrote: > > I understand the better now, > > Anyways, this would really be a useful features in our case :) > I have fixed the body and ${body} now returning the same = the body instance as it is. > > Claus Ibsen-2 wrote: >

Re: camel-mina and multicast

2010-04-22 Thread Claus Ibsen
p://cmoulliard.blogspot.com > - Twitter : http://twitter.com/cmoulliard > - Linkedlin : http://www.linkedin.com/in/charlesmoulliard > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: How to test

2010-04-22 Thread Claus Ibsen
i. How to unit test > the component? I see nothing about testing components (e.g. camel-mina) in > the source apache-camel-2.2.0-src.tar.gz > > -- > ~The best men are men who benefit to others > http://michsan.web.id > -- Claus Ibsen Apache Camel Committer Author of Camel in

Re: Velocity component

2010-04-22 Thread Claus Ibsen
>> >> Regards, >> Christian >> >> > > -- > View this message in context: > http://old.nabble.com/Velocity-component-tp28287678p28329284.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: Typo in docs

2010-04-22 Thread Claus Ibsen
View this message in context: > http://old.nabble.com/Typo-in-docs-tp28328940p28328940.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: camel-mina and objects

2010-04-22 Thread Claus Ibsen
t; Kind regards, >> >> Charles Moulliard >> >> Senior Enterprise Architect (J2EE, .NET, SOA) >> Apache Camel Committer >> >> *** >> - Blog : http://cmoulliard.blogspot.com >> - Twitter : http://twitter.com/cmoulliard >> - Linkedlin : http://www.linkedin.com/in/charlesmoulliard >> > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: Message counter

2010-04-23 Thread Claus Ibsen
> ... > > Any ideas?? > -- > View this message in context: > http://old.nabble.com/Message-counter-tp28337640p28337640.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://ww

Re: Typo in docs

2010-04-23 Thread Claus Ibsen
Hi Should be fixed now. On Thu, Apr 22, 2010 at 5:04 PM, Claus Ibsen wrote: > Hi > > Thanks for spotting this. > > Unfortunately the Apache wiki pages cannot be edited right now, that > does not work currently. > I will add the "name.ext" variation as well so you

Re: camel-mina and multicast

2010-04-23 Thread Claus Ibsen
he Camel Committer > > *** > - Blog : http://cmoulliard.blogspot.com > - Twitter : http://twitter.com/cmoulliard > - Linkedlin : http://www.linkedin.com/in/charlesmoulliard > > > > On Thu, Apr 22, 2010 at 2:43 PM, Claus Ibsen wrote: >> Hi >> >> There is no multic

Re: Some camel - jmx properties are not described in wiki web page

2010-04-23 Thread Claus Ibsen
harles Moulliard > > Senior Enterprise Architect (J2EE, .NET, SOA) > Apache Camel Committer > > *** > - Blog : http://cmoulliard.blogspot.com > - Twitter : http://twitter.com/cmoulliard > - Linkedlin : http://

Re: What will happen if there is a data loss?

2010-04-23 Thread Claus Ibsen
: > http://old.nabble.com/What-will-happen-if-there-is-a-data-loss--tp28339466p28339466.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: htt

Re: about Camel Transaction

2010-04-23 Thread Claus Ibsen
, > the deficiency will be correct. > If this worth to do in camel? > > Or there are some other reasons that camel 's transaction must use > error-handler? > > Thanks any suggestion; > > > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: XPath Spliiter Problem

2010-04-23 Thread Claus Ibsen
Hi I have implemented this in Camel 2.3 so it can do your example out of the box. On Thu, Apr 22, 2010 at 12:10 PM, Claus Ibsen wrote: > On Thu, Apr 22, 2010 at 12:00 PM, mitul1411 wrote: >> >> I used file  output for testing the values. >> My requirement is that I ha

Re: Using local camel schema on server with no internet access

2010-04-23 Thread Claus Ibsen
stian > -- > View this message in context: > http://old.nabble.com/Using-local-camel-schema-on-server-with-no-internet-access-tp28340101p28340101.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Author of

Re: CAMEL Spring Equivalent of body().isInstanceOf(AddEndpointNotificationMessage.class)

2010-04-24 Thread Claus Ibsen
n context: > http://old.nabble.com/CAMEL-Spring-Equivalent-of-body%28%29.isInstanceOf%28AddEndpointNotificationMessage.class%29-tp28345067p28345067.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.man

Re: jre 1.5 no longer available

2010-04-24 Thread Claus Ibsen
t; > -- > View this message in context: > http://old.nabble.com/jre-1.5-no-longer-available-tp28345745p28345745.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.man

Re: Generating multiple files based on DB query in a nice way.

2010-04-25 Thread Claus Ibsen
is write output of splitBody function to separate files. > > Can someone help with a working example? > > Thanks > > -- > View this message in context: > http://old.nabble.com/Generating-multiple-files-based-on-DB-query-in-a-nice-way.-tp28351534p28352808.html > Sent from t

Re: about Camel Transaction

2010-04-25 Thread Claus Ibsen
;s transaction doesn't support such usage. This deficiency is >> caused by the camel's transaction-policy implementation mixed with >> error-handler. >> >> So if the camel's transaction implementation will not to use > error-handler, >> the def

Re: Removing entries from FileIdempotentRepository don't get persisted

2010-04-27 Thread Claus Ibsen
ntry from the file before starting the server. > Bests, > -Farhad S. > > > -- > View this message in context: > http://old.nabble.com/Removing-entries-from-FileIdempotentRepository-don%27t-get-persisted-tp28373878p28373878.html > Sent from the Camel - Users mailing list

Re: Removing entries from FileIdempotentRepository don't get persisted

2010-04-27 Thread Claus Ibsen
repository. And/or extend the code from Camel to force a flush on remove. Or submit a patch to camel-core to have it flush on remove, which makes to do as a remove is not being executed that many times compared to add. > Bests, > -Farhad S. > > > > Claus Ibsen-2 wrote: >>

Re: activemq component MaxConnection retry

2010-04-28 Thread Claus Ibsen
ull Category: > org.apache.activemq.transport.failover.FailoverTransport Location: > org.apache.activemq.transport.failover.FailoverTransport.oneway(FailoverTransport.java:406) > Message: > Waiting for transport to reconnect. > Throwable: > null > -- > View this message in

Apache Camel 2.3 - Pending SNAPSHOTs before release can be done

2010-04-28 Thread Claus Ibsen
/4.0.2.GA_1-SNAPSHOT We need the SMX team to get those bundles released and published to maven repos. -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http

Re: Question on splitter

2010-04-28 Thread Claus Ibsen
t;>> exchange.getIn().copy().getBody(MyObject.class); >>>         final List answer = new LinkedList(); >>>         for (final MyNumber myNumber : inventory.getNumbers()) >>>         { >>>             final Message answerMessage = exchange.getIn().copy(); >>>             answerMessage.setBody(myNumber, MyNumber.class); >>>             System.out.println("=== splitting ==="); >>>         } >>>         return (T) answer; >>>     } >>> >>> I am seeing the message being printed out but I still don't have any >>> messages on the output queue. >>> >>> Could you help me see what's going on here? >>> >>> Thanks, >>> Han >>> >> >> > > -- > View this message in context: > http://old.nabble.com/Question-on-splitter-tp28395839p28396442.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: We can't avoid race-condition using Camel, Spring/JPA

2010-04-29 Thread Claus Ibsen
> > The messages will interfere with each-other as they come right after > eachother and the > handleMyNotificationEvent will end up having writte 18 rows > > The Question is can one setup camel so it will only take a message of the > queue after a @Transactional Service call >

Re: AW: activemq component MaxConnection retry

2010-04-29 Thread Claus Ibsen
t me know if you have an idea. > > -- > View this message in context: > http://old.nabble.com/activemq-component-MaxConnection-retry-tp28386612p28398843.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: Camel : Nagios & Spring XML

2010-04-29 Thread Claus Ibsen
-- >>> View this message in context: >>> http://old.nabble.com/Camel-%3A-Nagios---Spring-XML-tp28387966p28387966.html >>> Sent from the Camel - Users mailing list archive at Nabble.com. >>> >>> >> >> >> - >> Charles Moulliard &

Re: Broken API link?

2010-04-29 Thread Claus Ibsen
t; Thanks in advance, Mattias > -- > View this message in context: > http://old.nabble.com/Broken-API-link--tp28400136p28400136.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.m

Re: Camel newbie, endpoint configuration?

2010-04-29 Thread Claus Ibsen
t://router due to: No component found with scheme: fileformat > > > Please advise, > > Mattias > -- > View this message in context: > http://old.nabble.com/Camel-newbie%2C-endpoint-configuration--tp28402433p28402433.html > Sent from the Camel - Users mailing list archive at Nabbl

Re: Send message on startup

2010-04-29 Thread Claus Ibsen
igure this on the CamelContext. http://camel.apache.org/advanced-configuration-of-camelcontext-using-spring.html > View this message in context: > http://old.nabble.com/Send-message-on-startup-tp28404593p28404593.html > Sent from the Camel - Users mailing list archive at Nabble.com. > >

Re: Camel newbie, endpoint configuration?

2010-04-30 Thread Claus Ibsen
iledException: Failed to resolve >>> endpoint: >>> fileformat://router due to: No component found with scheme: fileformat >>> >>> >>> Please advise, >>> >>> Mattias >>> -- >>> View this message in context:

Re: AW: AW: activemq component MaxConnection retry

2010-04-30 Thread Claus Ibsen
-> createCamelContext(). You can find usages there. For me the following >> was minimum to configure maxReconnectAttempts: >> >> > class="org.apache.activemq.camel.component.ActiveMQComponent"> >>               > value="tcp://localhost:61616?jms.useAsyncSend=false&jms.maxReconnec

Re: Spring 3.0 and Camel 2.2 - Route configure() called before Spring beans injected

2010-05-01 Thread Claus Ibsen
; -- > View this message in context: > http://old.nabble.com/Spring-3.0-and-Camel-2.2---Route-configure%28%29-called-before-Spring-beans-injected-tp28415437p28415437.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: Java DSL routing according to hierarchical pojo configuration object?

2010-05-03 Thread Claus Ibsen
ion instance here? >        return configuration.getOutputConfiguration().getFileFormat(); >    } > } > > > > Thanks in advance, > > Mattias > -- > View this message in context: > http://old.nabble.com/Java-DSL-routing-according-to-hierarchical-pojo-config

Re: Java DSL routing according to hierarchical pojo configuration object?

2010-05-03 Thread Claus Ibsen
Hi And if you use beans then you can bean binding to adapt your message to bean parameters. http://camel.apache.org/bean-binding.html On Mon, May 3, 2010 at 10:11 AM, Claus Ibsen wrote: > Hi > > You can use predicates to do type safe CBR > http://davsclaus.blogspot.com/2009/02/

Re: camel-ftp questions: When the FTP server is down

2010-05-03 Thread Claus Ibsen
tp28432786p28432786.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: camel-ftp questions: When the FTP server is down

2010-05-03 Thread Claus Ibsen
ple on that wiki page. > Best regards > Ilker > -- > View this message in context: > http://old.nabble.com/camel-ftp-questions%3A-When-the-FTP-server-is-down-tp28432786p28433090.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen A

Re: Apidocs broken

2010-05-04 Thread Claus Ibsen
Hi Yes its a known issue. Hadrian is working on it. On Mon, May 3, 2010 at 8:33 PM, Norman Maurer wrote: > Hi all, > just in case you are not aware of it The link to the apidocs is > broken at the moment. > > Thx > Norman > -- Claus Ibsen Apache Camel Committe

Re: Transforming large XML files

2010-05-04 Thread Claus Ibsen
le is deserialised and the content >>> is >>> processed. >>> >>> Is there a workaround for this? I thought about providing a file option. >>> But >>> this would require to create a temporary file whenever the route is >>> executed. >>> &

Re: file locking issues debug

2010-05-04 Thread Claus Ibsen
ck=fileLock > > are there some simple debug techniques to determine  the problem? > > thanks > -lp > -- > View this message in context: > http://old.nabble.com/file-locking-issues-debug-tp28443668p28443668.html > Sent from the Camel - Users mailing list archive at Nabble.c

Re: Recieving BlobMessages routed with Camel

2010-05-04 Thread Claus Ibsen
ld.nabble.com/Recieving-BlobMessages-routed-with-Camel-tp28367084p28367084.html > Sent from the Camel - Users (activemq) mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: Synchronization in camel route

2010-05-04 Thread Claus Ibsen
-in-camel-route-tp28433290p28433290.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: Camel-csv 2.2.0: reading a single line csv file

2010-05-04 Thread Claus Ibsen
ot;, row.get(0), row.get(1)); > >                         Vendor vendor = vendorDAO.bind((String)row.get(0)); >                         Model model = new Model(vendor, (String)row.get(1)); >                         modelDAO.bind(model); > >                 } > > Attilio > > -- > View this message in

Re: Reading from a VM queue

2010-05-04 Thread Claus Ibsen
reNewEntity?size=100&timeout=100&concurrentConsumers=100" > /> >         >         how use a timer/> >   > ... > > > > > ... >   >   >   >   > ... > > > Any help would be greatly appreciated. > > Thanks. > -- >

Re: Camel-csv 2.2.0: reading a single line csv file

2010-05-04 Thread Claus Ibsen
On Tue, May 4, 2010 at 5:19 PM, Claus Ibsen wrote: > Hi > > On Tue, May 4, 2010 at 8:57 AM, Attilio Donà wrote: >> >> Hi all, >> >> I've to read a csv file and I want use camel to do this. Camel bindy seems >> to me that doesn't know t

Re: file locking issues debug

2010-05-04 Thread Claus Ibsen
On Wed, May 5, 2010 at 8:10 AM, lpiccoli wrote: > > > > Claus Ibsen-2 wrote: >> >> >> You can enable TRACE logging at this package >> org.apache.camel.component.file.strategy >> Where it should log about what its doing when acquiring that file lock. >

Re: Synchronization in camel route

2010-05-05 Thread Claus Ibsen
y sure if the use of threads() in the above case really > increases the performance or a single threaded route will provide adequate > performace. > Well you can ask the computer about the performance :) > Thanks > > > > Claus Ibsen-2 wrote: >> >> Hi >> >

Re: Recovery From Netty Connection Drop

2010-05-05 Thread Claus Ibsen
message in context: > http://old.nabble.com/Recovery-From-Netty-Connection-Drop-tp28467631p28469185.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: Recovery From Netty Connection Drop

2010-05-06 Thread Claus Ibsen
Hi I created a couple of tickets to improve/fix camel-netty https://issues.apache.org/activemq/browse/CAMEL-2698 https://issues.apache.org/activemq/browse/CAMEL-2699 I got the first one committed, and will work on the 2nd ticket. On Thu, May 6, 2010 at 6:33 AM, Claus Ibsen wrote: >

Re: log component

2010-05-06 Thread Claus Ibsen
** > - Blog : http://cmoulliard.blogspot.com > - Twitter : http://twitter.com/cmoulliard > - Linkedlin : http://www.linkedin.com/in/charlesmoulliard > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://

Re: Recovery From Netty Connection Drop

2010-05-06 Thread Claus Ibsen
https://cwiki.apache.org/confluence/display/CAMEL/Netty On Thu, May 6, 2010 at 11:19 AM, Claus Ibsen wrote: > Hi > > I created a couple of tickets to improve/fix camel-netty > https://issues.apache.org/activemq/browse/CAMEL-2698 > https://issues.apache.org/activemq/browse/CAMEL-269

Re: activemq.journal and exchange properties

2010-05-08 Thread Claus Ibsen
Message headers instead, as they are mapped to JMS properties. > > Regards, > Leen > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: unable to download 2.3 from any mirror links

2010-05-09 Thread Claus Ibsen
- Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: Question about processing and persistence

2010-05-10 Thread Claus Ibsen
nd, then take a look at Polling Consumer EIP http://camel.apache.org/polling-consumer.html > -- > View this message in context: > http://old.nabble.com/Question-about-processing-and-persistence-tp28507720p28507720.html > Sent from the Camel - Users mailing list archive at Nabble.com

Re: Recovery From Netty Connection Drop

2010-05-10 Thread Claus Ibsen
> thanks in advance, > Gareth Collins > -- > View this message in context: > http://old.nabble.com/Recovery-From-Netty-Connection-Drop-tp28467631p28519411.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Autho

Re: Spring 3.0 and Camel 2.2 - Route configure() called before Spring beans injected

2010-05-10 Thread Claus Ibsen
gt; >>> Can you have a look at my test and verify your case against the latest >>> Camel 2.3-SNAPSHOT ? >>> >>> [1] http://svn.apache.org/viewvc?rev=942665&view=rev >>> >>> Willem >>> jonathanq wrote: >>>> >>>

Re: Recipient List with optional destinations.

2010-05-11 Thread Claus Ibsen
thod call but is there a more elegant way I can >>> tell >>> camel to skip that destination if it does not exits? >> >> >> > > -- > View this message in context: > http://old.nabble.com/Recipient-List-with-optional-destinations.-tp28444254p28521662.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: Recovery From Netty Connection Drop

2010-05-11 Thread Claus Ibsen
On Tue, May 11, 2010 at 8:35 AM, Claus Ibsen wrote: > Hi Gareth > > Thanks for your findings. I will get it committed to trunk. (Apache > SVN is not working at this moment). > Committed fixes to trunk. Gareth can you test it on your system? > > On Tue, May 11, 2010 at 4:

Re: Recipient List with optional destinations.

2010-05-11 Thread Claus Ibsen
Oh and the same option should be added to Routing Slip EIP as well. On Tue, May 11, 2010 at 11:06 AM, Claus Ibsen wrote: > On Tue, May 11, 2010 at 11:03 AM, Eric Bouer wrote: >> >> Hi. >> You're right about that, I added errorhandler that just suppressed the >&

Re: Out of Memory Crash with Seda (Camel 2.1.0)

2010-05-11 Thread Claus Ibsen
       } >        ).to("test-activemq:queue:" + queueName); > -- > View this message in context: > http://old.nabble.com/Out-of-Memory-Crash-with-Seda-%28Camel-2.1.0%29-tp28525274p28525274.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: Recovery From Netty Connection Drop

2010-05-11 Thread Claus Ibsen
her message). They worked. > Thanks! > Thats great news. And thanks for looking into it and providing patches. -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twi

Re: routingSlip and async destinations

2010-05-11 Thread Claus Ibsen
613391450, >> JMSDeliveryMode=2, JMSXGroupID=null, JMSExpiration=0, >> JMSDestination=queue://quux, JMSRedelivered=false, JMSPriority=4, >> JMSReplyTo=null, JMSType=null, JMSCorrelationID=null}, >> BodyType:java.util.HashMap, Body:{ ...} >> >> So

Re: FileEndpoint definition + File Language

2010-05-11 Thread Claus Ibsen
nFailedException: Cannot rename file: > GenericFile[c:\test\hotfolder\xxx.txt] to: GenericFile[backup\20100512] > III case > > > > > > > > > > IV Case > > > > > > > > Result: work as expected > -- > View this message in context: > htt

Re: HL7 with Mina Camel and ActiveMQ

2010-05-12 Thread Claus Ibsen
||605|201003022238465PN|9 > ^^^ > > > Any help is greatly appreciated. > > -- > View this message in context: > http://old.nabble.com/HL7-with-Mina-Camel-and-ActiveMQ-tp28538368p28538368.html &

Re: Camel + Spring +JMX + Authentication

2010-05-12 Thread Claus Ibsen
y are prompted for a user name (e.g. >> 'testuser') and a password (e.g. 'support'). >> >> Currently in my camel-context.xml file I have: >> >> >> >> I have had a look around and I can see anything that describes how to >> setup/re-enable JMX

Re: Ommiting XML declaration when converting from Dom to String

2010-05-13 Thread Claus Ibsen
represent those of Public Library of Science unless otherwise > specifically stated. Please note that neither Public Library > of Science nor any of its agents accept any responsibility for any viruses > that may be contained in this e-mail or its attachments and it > is your responsibility to s

Re: Camel + Spring +JMX + Authentication

2010-05-13 Thread Claus Ibsen
l.html > Thanks! > > Claus Ibsen-2 wrote: >> >> Hi >> >> Yeah as Christian says you can use what the JDK offers. >> There is also a link for a 1.6 version here >> http://java.sun.com/javase/6/docs/technotes/guides/management/agent.html >> >>

Re: Camel + Spring +JMX + Authentication

2010-05-13 Thread Claus Ibsen
gt; View this message in context: > http://old.nabble.com/Camel-%2B-Spring-%2BJMX-%2B-Authentication-tp28543268p28543268.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/

Re: Route ID

2010-05-13 Thread Claus Ibsen
4p28548334.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: camel route logging

2010-05-13 Thread Claus Ibsen
What version of Camel are you using? > > Thanks. > > -- > View this message in context: > http://old.nabble.com/camel-route--logging-tp28548848p28548848.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer

Re: camel route logging

2010-05-13 Thread Claus Ibsen
java code are >> getting into the log file but not any errors from camel (routing process). >> >> I am getting some errors in camel routing process,these errors also should >> go into the log file. >> how can we do that. >> >> Thanks. >> >>

Re: Camel + Spring +JMX + Authentication

2010-05-14 Thread Claus Ibsen
Spring-%2BJMX-%2B-Authentication-tp28543268p28553960.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: Camel Hyperic Agent plugin anyone?

2010-05-14 Thread Claus Ibsen
ic. So its doable. > Kind regards, > Christopher > -- > View this message in context: > http://old.nabble.com/Camel-Hyperic-Agent-plugin-anyone--tp28555615p28555615.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel C

Re: FTP creating connection based on domain, username, password

2010-05-14 Thread Claus Ibsen
n-domain%2C-username%2C-password-tp28557488p28557488.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus

Re: Camel XSLT, how to pass a Map param to XSL

2010-05-14 Thread Claus Ibsen
;        http://login.dev2..edu/AuthN/services/Service"/> > >         >         > > > > > Some Spring Util config: > > > (I'm not sure how could i inject into Camel SetProperty somewhere). > > Any suggestions would help. > > Thanks, > Vikas

Re: FTP creating connection based on domain, username, password

2010-05-14 Thread Claus Ibsen
y cannot handle concurrency on the same Session. > > > > > Claus Ibsen-2 wrote: >> >> On Fri, May 14, 2010 at 12:09 PM, Srini97 >> wrote: >>> >>> Hello All, >>> >>> I have got a problem with FTP connections, as it is creating a connectio

Re: camel route logging

2010-05-14 Thread Claus Ibsen
          > > I am getting the following build error > cvc-enumeration-valid: Value 'LoggingLevel.ERROR' is not facet-valid with > respect to enumeration '[DEBUG, ERROR, FATAL, INFO, TRACE, WARN, OFF]'. It > must be a value from the enumeration. > > I tried LoggingLeve

Re: Camel and Oracle AQ

2010-05-15 Thread Claus Ibsen
; Later, I declare a camel context and declare the routing in the same >>>> config >>>> file: >>>> >>>> >>>                xmlns="http://activemq.apache.org/camel/schema/spring";> >>>>                 >>>>    

Re: Adding/Deleting queues at runtime

2010-05-15 Thread Claus Ibsen
ot;activemq:queue:${queueName}").to("stream:out") > > Please guide me. > > Thanks alot in advance. > > > > -- > View this message in context: > http://old.nabble.com/Adding-Deleting-queues-at-runtime-tp28544404p28544404.html > Sent from the Camel - User

Re: AW: AW: activemq component MaxConnection retry

2010-05-15 Thread Claus Ibsen
or restrict the retry to make a > successfull connection. > -- > View this message in context: > http://old.nabble.com/activemq-component-MaxConnection-retry-tp28386612p28547432.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel

Re: Protocol conversion / active mediation

2010-05-16 Thread Claus Ibsen
ny working > example for the abovementioned scenario? > > BR, > > -- > View this message in context: > http://old.nabble.com/Protocol-conversion---active-mediation-tp28573662p28573662.html > Sent from the Camel - Users mailing list archive at Nabble.com. > >

Re: Protocol conversion / active mediation

2010-05-16 Thread Claus Ibsen
h Apache Mina or JBoss Netty. > BR, > > > Claus Ibsen-2 wrote: >> >> Hi >> >> Short answer yes Camel is a perfect fit for that. >> >> I suggest to read this great article introducing Camel >> http://architects.dzone.com/articles/apache-camel-integ

Re: Connecting Custom camel component to remote provider on-startup

2010-05-17 Thread Claus Ibsen
at start up? > > kr. > -- > View this message in context: > http://old.nabble.com/Connecting-Custom-camel-component-to-remote-provider-on-startup-tp28580304p28580304.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel

  1   2   3   4   5   6   7   8   9   10   >