AW: [Bug?] hl7dataformat hapicontext&parser not in camel-blueprint.xsd

2016-04-04 Thread Walzer, Thomas
When I write the blueprint xml I have a reference to camel-blueprint.xsd in it. So that the tooling can check my xml against the xsd. --snip from camel-blueprint.xsd --- Whether to validate the HL7 message Is by default true.

Re: Beanio stream...

2016-04-04 Thread mailingl...@j-b-s.de
Hi Brad! To read and split a file you need a combination of streaming unmarshalling and splitter components. Is tmxPaymentTechIn something you wrote? You can try to read the file by camel as xml, splitting groups by xpath and unmarshall just the group from xml to a bean model... Unfortunately

Re: Spring ldap configuration problem

2016-04-04 Thread Claus Ibsen
What Camel version and what is the stacktrace. On Mon, Apr 4, 2016 at 10:05 PM, rburdet wrote: > Hi. Im having a problem with my spring-ldap configuration. And i havent found > many examples about, so im a bit blind. > > A java.lang.NullPointerException is raised when this endpoint is reached: >

Re: Beanio stream...

2016-04-04 Thread Claus Ibsen
You would need to create a BeanioIterator implementation and use the splitter eip with it. Would be a good addition to get into camel-beanio with such an iterator. There is an iterator example in camel-mail, and I think also in camel-zipfile etc. On Tue, Apr 5, 2016 at 12:54 AM, Brad Johnson wr

Spring ldap configuration problem

2016-04-04 Thread rburdet
Hi. Im having a problem with my spring-ldap configuration. And i havent found many examples about, so im a bit blind. A java.lang.NullPointerException is raised when this endpoint is reached: I have this beans ldap://ldap.forumsys.com:389"

Beanio stream...

2016-04-04 Thread Brad Johnson
I have a beanio mapping that's rather standard and I read it in but it appears that it reads the entire file into memory instead of streaming it. Is there a way to change that behavior so that I can take items as they are read and put them on a queue?

Re: PDF/A files using Camel FOP component

2016-04-04 Thread Bilgin Ibryam
Hi Laurentiu, I just extended FOP component with the following header which lets you set parameters to getRendererOptions. So in your case it would be: PDF/A-1b Basically FOP userAgent object is not an easy one that can be autoamted and set through convention. Some values are set as fields to

2 Error Handlers called for 1 exception

2016-04-04 Thread Sven Bauhan
Hi, I have a problem with the current Camel version 2.16.2. In version 2.15.5 it works without problems. -- I want to test the throwing of an exception when no response message is received within a given timeout. To create a timeout, I use multicast to clone the message and a delay

Re: AMQPComponent routes - running out of UNIX descriptors

2016-04-04 Thread Quinn Stevenson
I don’t use AMQP, so this is guess - but it sounds like the AMQP endpoint is creating a new connection to the destination for every message. I’ve hit similar issues with camel-jms, and I resolve them by using a pooled connection factory. Sorry - not much help from me. Maybe an AMQP expert wil

Duplicated JMX MBean CamelContext

2016-04-04 Thread Viktor Lioutyi
Hi, Sometimes our customers can see duplicated CamelContext objects in JMX consoles, like Hawtio/JVisualVM/etc. One of the ways to get duplicated CamelContext MBeans is to have route configuration error, like shown in the stack trace below 2016-04-04 12:02:17,017 | ERROR | pool-46-thread-1 | Blue

Re: ActiveMQ: Durability with dynamically created Virtual Topic consumers

2016-04-04 Thread jpeschke
Update: A similar problem is described in this thread, but is seems unsolved. -- View this message in context: http://camel.465427.n5.nabble.com/ActiveMQ-Durability-with-dynamically-created-Virtual

Re: Question: register jackson module with auto binding in rest dsl

2016-04-04 Thread Arnaud Deprez
Thanks Claus, After having hacked the camel code a couple of hour, I've found this solution too and it works like a charm. It would be nice to document it better. If I find time today in the evening or tomorrow, I'd be honored to contribue to it. Although I've noticed a small restriction with th

Re: AMQPComponent routes - running out of UNIX descriptors

2016-04-04 Thread michal1988
Hi Quinn, Thanks for the response. I use the newest version 2.17 the same situation with 2.16.2. I cannot shared the code, my terminal is not connected to internet :/ I will try to describe it. The simplified version of the code is: Create DefaultCamelContext(). I create a AMQPComponent li

ActiveMQ: Durability with dynamically created Virtual Topic consumers

2016-04-04 Thread jpeschke
Hello, I have a little problem when using ActiveMQ's "Virtual Topic" feature together with dynamically created/stopped Camel routes. My scenario: - My camel application offers a web service which other systems within the company can use to subscribe/unsubscribe for messages that will be then sent

Re: [Bug?] hl7dataformat hapicontext&parser not in camel-blueprint.xsd

2016-04-04 Thread Quinn Stevenson
As far as I know, Blueprint uses reflection to set properties so there wouldn’t be any need for any changes in camel-blueprint when a component/dataformat gets new properties. What exactly is your issue? > On Apr 4, 2016, at 2:19 AM, Walzer, Thomas > wrote: > > Hi, > > is it possible that

Re: AMQPComponent routes - running out of UNIX descriptors

2016-04-04 Thread Quinn Stevenson
Can you share a small sample route that reproduces the issue? And what version of Camel are you using? > On Apr 4, 2016, at 8:08 AM, michal1988 wrote: > > Hello guys, It is my very beginning with Apache Camel. I have created a > simple component and added few routes. The problem is that every

Re: Question: register jackson module with auto binding in rest dsl

2016-04-04 Thread Claus Ibsen
You can configure the class names of those custom modules http://camel.apache.org/json.html And if using the rest-dsl you can configure that using the dataFormatProperty style. Or you can refer to existing modules in the registry using the id's with the moduleRefs option. On Mon, Apr 4, 2016 at

DefaultSqlPrepareStatementStrategy lookupParameter when onConsume used in SQL component

2016-04-04 Thread onders
Hi, I have a simple route as the following; from("sql:select rowid vrow_id from myTable where nstatus = 0" + MyBean.class.getName() + "&onConsume=update myTable set nstatus = 1 where VROW_ID = :#${body.vrow_id}") .ro

AMQPComponent routes - running out of UNIX descriptors

2016-04-04 Thread michal1988
Hello guys, It is my very beginning with Apache Camel. I have created a simple component and added few routes. The problem is that every new usage of the route takes one UNIX descriptor. I do check it with "netstat | wc -l". So I run out of it after ~60k messages send/receive from/to AMQP . Is the

Question: register jackson module with auto binding in rest dsl

2016-04-04 Thread Arnaud Deprez
Hi camel riders, I've one question (which is by the way in the title): - Is there a way to register jackson modules (ie jdk8 & jsr310) in the RestBinding.auto configuration for services exposed with the rest-dsl ? Thanks in advance and keep riding ! Rgds, -- Arnaud Deprez

Re: RabbitMQ: Declare queue on existing exchange

2016-04-04 Thread Claus Ibsen
Hi Yeah we love contributions, you are welcome to log a JIRA and work on a patch / PR. http://camel.apache.org/contributing On Mon, Apr 4, 2016 at 2:21 PM, FabianChanton wrote: > I solved this problem by making a few changes to camel-rabbitMQ. > > These are the parts that cause the problem: > >

Re: RabbitMQ: Declare queue on existing exchange

2016-04-04 Thread FabianChanton
I solved this problem by making a few changes to camel-rabbitMQ. These are the parts that cause the problem: - If the consumer declares a queue it always declares the exchange as well. I now check, if the exchange name is null or empty and in that case don't declare the exchange. Maybe an option

Re: Instagram Component ?

2016-04-04 Thread Mark
Have you successfully gotten jInstagram to work? I have been unsuccessful. I've also been evaluating scribejava https://github.com/scribejava/scribejava On Wed, Mar 30, 2016 at 5:30 PM, Bilgin Ibryam wrote: > In the past I used jinstagram from Camel, but never seen a componet. > Will be nic

Sub-classing org.apache.camel.spring.javaconfig.Main - bug?

2016-04-04 Thread James Green
Tried writing an Application.java extending org.apache.camel.spring.javaconfig.Main and overriding the public void setBasedPackages(String config) method. My sub-class method does not get called yet the base class version does get called. On inspection, there's a static call to org.apache.camel.sp

Re: Netty deadlock during connection interrupt

2016-04-04 Thread JS
The issue is still present in Camel 2.16.2 and can be reproduced with the example code above. Please note that this happens approx. every 10th run. I've enabled trace logging for NettyProducer and got the following output: 11:27:46.668 [main] DEBUG org.apache.camel.impl.ProducerCache - Endpo

WildFly-Camel-4.0.0 released

2016-04-04 Thread James Netherton
Dear Friends, I’m happy to announce the release of wildfly-camel-4.0.0 WildFly-Camel 4.0.0 provides Camel-2.17 integration with WildFly-10.0. This is a major upgrade release with a number of exiting features. Most noteworthy, w

[Bug?] hl7dataformat hapicontext&parser not in camel-blueprint.xsd

2016-04-04 Thread Walzer, Thomas
Hi, is it possible that http://camel.apache.org/schema/blueprint/camel-blueprint.xsd does not contain the new properties hapiContext & parser? Makes it hard to use the features from 2.14.1 in blueprint ;-) Jira? Cheers, Thomas.