Re: Spring AMQP Apache Camel Component Released

2011-11-28 Thread Martin Krasser
ideas on how to better format the endpoint string. Thanks! -- View this message in context: http://camel.465427.n5.nabble.com/Spring-AMQP-Apache-Camel-Component-Released-tp5027785p5027785.html Sent from the Camel - Users mailing list archive at Nabble.com. -- Martin Krasser blog:http

Re: Camel from the Scala command line

2011-02-14 Thread Martin Krasser
useful for situations like this. I've started experimenting with the Scala interactive shell as a way of defining and starting / stopping routes. Has anyone else tried anything like this? Would this be useful to anyone if we can get it to work? --- Blair -- Martin Krasser blog:http

Re: HL7 component release connection problem

2011-02-11 Thread Martin Krasser
.nabble.com/file/n3380820/ADTA01.txt ADTA01.txt I use a internal tool to send the message. I used this tool to send message to 7edit receiver successfully before. So I did not doubt this tool:) I will try to write new client to verify this again. Thank you and best wishes zhou nan -- Martin Krasser

Re: HL7 component release connection problem

2011-02-11 Thread Martin Krasser
=org.apache.camel.component.hl7.HL7MLLPCodec property name=charset value=ISO-IR-87/ /bean Does that help? Am 11.02.11 10:07, schrieb Martin Krasser: Ok thanks, I'll take a look as soon as I can. Please let me know how it works with another client. Cheers, Martin Am 11.02.11 10:01, schrieb hoopzhou: Hi

Re: HL7 component release connection problem

2011-02-10 Thread Martin Krasser
); // Avoid redelivery of scanned message state.reset(); } catch (CharacterCodingException e) { throw new RuntimeException(e); } } It seems to write all bytebuffer to body. Is it the cause? Sorry for that I am not very familiar with Java NIO. -- Martin

Re: [INFO] Project scalaz-camel

2011-01-24 Thread Martin Krasser
feedback helped me a lot going into the right direction. -- Martin Krasser blog:http://krasserm.blogspot.com code:http://github.com/krasserm twitter: http://twitter.com/mrt1nz

Re: [INFO] Project scalaz-camel

2011-01-21 Thread Martin Krasser
/krasserm/scalaz-camel/wiki -- Martin Krasser blog:http://krasserm.blogspot.com code:http://github.com/krasserm twitter: http://twitter.com/mrt1nz -- Martin Krasser blog:http://krasserm.blogspot.com code:http://github.com/krasserm twitter: http://twitter.com/mrt1nz

[INFO] Project scalaz-camel

2011-01-20 Thread Martin Krasser
-camel [2] https://github.com/krasserm/scalaz-camel/wiki#getting-started [3] http://code.google.com/p/scalaz/ [4] https://github.com/krasserm/scalaz-camel/wiki -- Martin Krasser blog:http://krasserm.blogspot.com code:http://github.com/krasserm twitter: http://twitter.com/mrt1nz

Re: Camel-http and multiple Set-Cookie headers

2011-01-09 Thread Martin Krasser
(Chinese) Twitter: willemjiang -- Martin Krasser blog:http://krasserm.blogspot.com code:http://github.com/krasserm twitter: http://twitter.com/mrt1nz

Re: Camel-http and multiple Set-Cookie headers

2011-01-09 Thread Martin Krasser
- Users mailing list archive at Nabble.com. -- Martin Krasser blog:http://krasserm.blogspot.com code:http://github.com/krasserm twitter: http://twitter.com/mrt1nz

Re: Resequence Stream ConcurrentModificationException

2010-07-08 Thread Martin Krasser
Using the resequencer from multiple threads shouldn't be a problem, so I need to dig in a bit deeper to see what's wrong here. I'm not even sure if this a resequencer problem or if the resequencer just un-covers another problem. Best you create a small Maven 2 app with all required dependencies

Re: Resequence Stream ConcurrentModificationException

2010-07-07 Thread Martin Krasser
That's odd and should be fixed. Please create a JIRA ticket plus a small unit test case (or sample app) for reproducing your findings. Thanks, Martin -- View this message in context: http://camel.465427.n5.nabble.com/Resequence-Stream-ConcurrentModificationException-tp524555p1044698.html Sent

Re: Resequence Stream ConcurrentModificationException

2010-07-07 Thread Martin Krasser
What you could also try is to increase the timeout. It is currently set to 100ms. Every two out-of-order messages separated by more than 100 ms in time cannot be resequenced properly then. Try using 3000 ms, for example. Does that help? -- View this message in context:

Re: HL7 with Mina Camel and ActiveMQ

2010-05-12 Thread Martin Krasser
Hi, please create a JIRA ticket and attach the complete test message you're using. Thanks, Martin Am 12.05.2010 19:20, schrieb faushouse: ActiveMQ = 5.3.0 and Camel = 2.0 (bundled) and HAPI 0.6 and Mina 1.1.7 faushouse wrote: The size of the file is 329 bytes, so way under the 1024

Re: [Discuss] - Camel Properties Component - Change tokens to avoid clash with Spring 3.0

2010-04-02 Thread Martin Krasser
What about - prefix = {{ - suffix = }} Then we'd avoid reserved URI characters such as $, #, ... etc. Am 02.04.2010 11:07, schrieb Claus Ibsen: Hi See ticket https://issues.apache.org/activemq/browse/CAMEL-2599 The problem is that Spring 3.0 includes a EL by default which is automatic in

Re: Resequencer Issues with ActiveMQ

2010-02-24 Thread Martin Krasser
Hi Andrew, can you please provide a JUnit test that reproduces the problems you described (no reordering, missing messages etc.)? Just attach a running example to a JIRA issue. Andrew Harvey schrieb: Hi there, I've been battling for a few days to get a resequencer working with ActiveMQ

Unexpected behaviour of TransactionErrorHandler?

2009-11-20 Thread Martin Krasser
I'm using the TransactionErrorHandler of Camel 2.0.0 and observe an unexpected transaction-outcome for handled errors. Using the TransactionErrorHandler with the route onException(Exception.class).handled(true).process(...); from(direct:test).transacted().processRef('myFailureProcessor');

Re: Unexpected behaviour of TransactionErrorHandler?

2009-11-20 Thread Martin Krasser
, Martin Krasser d...@martin-krasser.de wrote: I'm using the TransactionErrorHandler of Camel 2.0.0 and observe an unexpected transaction-outcome for handled errors. Using the TransactionErrorHandler with the route onException(Exception.class).handled(true).process(...); from(direct:test

Re: Unexpected behaviour of TransactionErrorHandler?

2009-11-20 Thread Martin Krasser
: On Fri, Nov 20, 2009 at 10:36 AM, Claus Ibsen claus.ib...@gmail.com wrote: On Fri, Nov 20, 2009 at 10:35 AM, Martin Krasser d...@martin-krasser.de wrote: I know that when I don't declare the local exception handler a rollback will occur. But how can I handle the exception for returning

First steps with Apache Camel on Google App Engine

2009-10-18 Thread Martin Krasser
Recently I succeeded to get a simple Camel route running on the Google App Engine. Here's a short overview of the issues I encountered: * Camel's UuidGenerator doesn't work on GAE and needed to be replaced (see CAMEL-2073 https://issues.apache.org/activemq/browse/CAMEL-2073 and a previous

Camel on Google App Engine

2009-10-16 Thread Martin Krasser
I'm trying to get camel-core running on Google App Engine. It doesn't run out-of-the-box mainly because Camel's UUID generator. It uses InetAddress that is not on the JRE class whitelist. Replacing the implementation using Java's UUID class, I got a simple route running. Is there any special

Re: Camel on Google App Engine

2009-10-16 Thread Martin Krasser
Their performance is almost the same. Generating 1 million UUIDs on my laptop takes about 3 seconds +/- 100ms. UUID tends to be a bit faster than Camel's UUIDGenerator. James.Strachan wrote: 2009/10/16 Guillaume Nodet gno...@gmail.com: Isn't the activemq uuid generator a lot faster ?

Issue with interceptSendToEndpoint

2009-10-12 Thread Martin Krasser
When I send a message to direct:test1 in the following route builder, the hello is written three-times to the console instead of only once, as expected. interceptSendToEndpoint(direct:intercept) .process(new Processor() { public void process(Exchange exchange) throws Exception {

Re: content-enrich

2009-03-03 Thread Martin Krasser
the new 'enriched' message Document result = ...; original.getOut().setBody(result); return original; } } On Tue, Mar 3, 2009 at 7:02 AM, Martin Krasser d...@martin-krasser.dewrote: Hi Peter, the route looks good to me. * The in-messages

Re: content-enrich

2009-03-02 Thread Martin Krasser
Hi Peter, the route looks good to me. * The in-messages of the original exchange and the resource exchange are always identical. The out-message of the resource exchange will contain the result from 'direct:enrichMovie'. * What message exchange pattern do you use when you test (print the