Re: Bindy for fixed length format with optimizations

2017-10-19 Thread Marcin Domański
Moreover, there is undocumented switch on FixedLengthRecord annotation called ignoreMissingChars which does the trick. On 19 Oct 2017 09:53, "Marcin Domański" wrote: Answering my own question: This should be possible since CAMEL-9476 fix was implemented in v2.18.0. On 18 Oct

Re: Bindy for fixed length format with optimizations

2017-10-19 Thread Marcin Domański
Answering my own question: This should be possible since CAMEL-9476 fix was implemented in v2.18.0. On 18 Oct 2017 17:51, "Marcin Domański" wrote: > Dear list users, > I am checking my options on how to parse fixed length format data where > total lenth is variable, becau

Bindy for fixed length format with optimizations

2017-10-18 Thread Marcin Domański
Dear list users, I am checking my options on how to parse fixed length format data where total lenth is variable, because blank chars from end of last field are being removed. Therefore I am looking for something like ignoreMissingTrailingChars. Example: Lets have field pos 1 length 1 and field 2

Re: equivalent in Spring JavaConfig

2016-02-26 Thread Marcin Zajączkowski
On 2016-02-21 02:13, Marcin Zajączkowski wrote: > Hi, > > Recently I was migrating Camel configuration in one of my Spring-based > projects from XML to JavaConfig. The part that took me a while was the > ability to add routes. I was creating Spring bean(s) of RouteBuilder >

equivalent in Spring JavaConfig

2016-02-20 Thread Marcin Zajączkowski
pplication uses pure Spring only. My question: How to enable context scan for RouteBuilder beans in (pure) Spring context using Java Config only (no XML)? Marcin -- http://blog.solidsoft.info/ - Working code is not enough

Camel quartz - one scheduler used for a few QuartzComponent

2015-10-24 Thread marcin
problem is when module is refreshed - QuartzComponent.doStop() method calls Scheduler.shutdown() method and scheduler (common for each module) cannot be use. I have to restart my application. How can i solve this problem? I use camel 2.15.0. Best regards Marcin -- View this message in context: http

onCompletition block

2011-11-24 Thread marcin
end() .process(new MyProcessor()) .end(); But, in this case any onCompletition block is executing regardless of processor throws exception. I use Camel 2.6.0. Cheers, Marcin -- View this message in context: http://camel.465427.n5.nabble.com/onCompletition-block-tp5020141p5020141.html Sent from t

Re: [ camel ] XML Namespace and Xpath injection

2011-09-12 Thread Marcin Cylke
On 09/12/2011 02:21 PM, atouret.nos...@free.fr wrote: Hello, I'm trying to inject a value in bean trough an xpath injection as following : public void audit(@XPath("/Envelope/Body/getToken/username/text()") String id, @Body String body) { logger.info("Id :"+id );

cxf bean exposed via camel

2011-08-01 Thread Marcin Cylke
mel.apache.org/schema/spring";> uri="jbi:service:http://some.endpoint.com/Endpoint-1/default"; /> #v- Thanks in advance for any assistance. Marcin

RE: route's name in jconsole

2011-02-23 Thread marcin
Hi, I cannot use setId(...) immediately after from(...) because setId(...) returns void and it should be use at the end of the route. Cheers, Marcin -- View this message in context: http://camel.465427.n5.nabble.com/route-s-name-in-jconsole-tp3396942p3397104.html Sent from the Camel - Users

Re: route's name in jconsole

2011-02-23 Thread marcin
Thanks for your help. It works. Cheers, Marcin -- View this message in context: http://camel.465427.n5.nabble.com/route-s-name-in-jconsole-tp3396942p3397087.html Sent from the Camel - Users mailing list archive at Nabble.com.

route's name in jconsole

2011-02-23 Thread marcin
-processing-event"); in jconsole I can see route's name like "route88". How can I set my route to see custom route's name in jconsole? Cheers, Marcin -- View this message in context: http://camel.465427.n5.nabble.com/route-s-name-in-jconsole-tp3396942p3396942.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: [ camel ] Help required for simple transactional Route for forwarding messages from ActiveMQ to TCP port

2011-02-16 Thread Marcin Cylke
a Camel only approach for this problem and would be happy to hear others oppinions. Regards Marcin

jms and transactional fetching

2011-01-09 Thread Marcin Cylke
moment I've only achieved retrying when the processing fails - I simply set connection to the broker as transacted. But I don't know how to force the time between redeliveries and other things. Regards Marcin

Re: Processing message with two processors

2010-10-16 Thread marcin
Hi, Thanks for your replay. Is there any simple way to get xml file from http and then process it by two or more processors? In my case message is converted during processing. So, how can I disable message converting? Cheers, Marcin -- View this message in context: http://camel.465427.n5

FileEndpoint definition + File Language

2010-05-11 Thread Marcin Za-pa
Using Camel 2.2 JVM 1.5 + tomcat 6.0 and Windows XP SP3 Hi, I spent much time trying to figure out why my solution doesn't work as written in documentation. I want to configure file endpoint with move parameter, but only the last case from those described below works: (Am I doing sth wrong or the

Re: Multiple durable consumers on jms topic

2010-03-18 Thread Marcin Cylke
Replying to myself. Seems like the problem does not exist if I use external Activemq broker. Nevertheless it would be nice to have it working with the embedded one. Regards Marcin -- View this message in context: http://old.nabble.com/Multiple-durable-consumers-on-jms-topic

Multiple durable consumers on jms topic

2010-03-17 Thread Marcin Cylke
x27;m using camel 1.4.0, and unfortunatelly am unable to upgrade. Thanks in advance for any help. Regards Marcin -- View this message in context: http://old.nabble.com/Multiple-durable-consumers-on-jms-topic-tp27930623p27930623.html Sent from the Camel - Users mailing list archive at Nabble.com.