Re: direct-vm in OSGI - how to handle context updates?

2014-11-19 Thread Thomas Weinschenk
Hi Claus, I don't see the problem on side of Karaf, Felix or OSGi at all or how the contexts are deployed. The problem is that in a dynamic environment the direct-vm consumer does not know the producers. Therefore the consumer cannot trigger a restart of the other contexts. Especially if the

Re: Camel-Hive

2014-11-19 Thread Charles Moulliard
Hi, - As there is no camel hive component, the issue cannot be assigned to something which does not exist - As you are using the camel-sql (= Spring JDBC framework), can you please describe the problem, error and how to reproduce Regards, On Wed, Nov 19, 2014 at 5:39 AM, smilevasu6

Re: Camel-Hive

2014-11-19 Thread smilevasu6
Hi, Error is like Invalid path '/home/cloudera/Desktop/Sri'': No files matching path file:/home/cloudera/Desktop/Sri i want read the from Hive table and copy into another Hive table using camel Reading part is done, i am able to read the data from Hive table using camel. Please advice --

Re: Camel-swagger does not support query parameters?

2014-11-19 Thread Claus Ibsen
Hi Keep an eye on the JIRA when its resolved and in what Camel releases. On Fri, Nov 14, 2014 at 9:55 AM, Liliana.Neagul liliana.iovanov...@gmail.com wrote: Hi, I'm trying to use Rest DSL for generating documentation for swagger. Do you know how to add a description for every parameter from

Re: MongoDB: Persistent tail tracking with concurrent tailable consumers

2014-11-19 Thread Claus Ibsen
Hi Well spotted the bug. Feel free to log a JIRA ticket and provide a patch http://camel.apache.org/contributing.html On Mon, Nov 17, 2014 at 2:11 PM, jpeschke pesc...@etone.de wrote: Hi, It's me again. I think I found the problem: It's in the method initialize in

Re: Camel-Hive

2014-11-19 Thread Charles Moulliard
This error is reports is reported by Hive framework. so please check your stacktrace and have a look to Hive code. On Wed, Nov 19, 2014 at 9:45 AM, smilevasu6 srinivas.thu...@gmail.com wrote: Hi, Error is like Invalid path '/home/cloudera/Desktop/Sri'': No files matching path

total number of messages in activemq

2014-11-19 Thread cool_rk
How can i calculate total number of messages in a activemq queue in camel. -- View this message in context: http://camel.465427.n5.nabble.com/total-number-of-messages-in-activemq-tp5759321.html Sent from the Camel - Users mailing list archive at Nabble.com.

AW: total number of messages in activemq

2014-11-19 Thread jhm
I wouldnt do this in Camel - ask ActiveMQ. http://activemq.apache.org/how-do-i-find-the-size-of-a-queue.html http://activemq.apache.org/rest.html#REST-RestManagement http://activemq.apache.org/statisticsplugin.html http://java.dzone.com/articles/managing-activemq-jmx-apis Jan

Problem Configuring WSS4JInInterceptor using camel-config.xml

2014-11-19 Thread Royamit
Hi, I am trying to configure WSS4JInInterceptor in my cxf endpoint. Below is my camel-config.xml ?xml version=1.0 encoding=UTF-8? beans xmlns=http://www.springframework.org/schema/beans; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

Re: MongoDB: Persistent tail tracking with concurrent tailable consumers

2014-11-19 Thread jpeschke
Hi, Claus Ibsen-2 wrote Well spotted the bug. Feel free to log a JIRA ticket and provide a patch http://camel.apache.org/contributing.html Thanks. I submitted a Bug in JIRA. https://issues.apache.org/jira/browse/CAMEL-8063 Thanks for this great software, by the way (and exspecially @Claus:

PollEnrich timeout not working

2014-11-19 Thread patelp
I have a directory that contains two files, file1.txt and file2.txt, and my camel route picks file1.txt processes it line by line and uses file2 as a resource for additional information. I am using pollEnrich to read the second file. My camel.xml file looks as follows. route id=id1

Re: PollEnrich timeout not working

2014-11-19 Thread Claus Ibsen
It should be pollEnrich uri=file:someDirName?fileName=file2.txt timeout=1 ... And mind the timeout is in milli seconds. For the file url you need a starting directory and then specify the file name as an parameter On Wed, Nov 19, 2014 at 3:19 PM, patelp priya...@ge.com wrote: I have a

Re: PollEnrich timeout not working

2014-11-19 Thread patelp
That's exactly how I have it in my code. It's picking the file from the directory when it exists so the file path is correct. But the issue is its waiting forever for the file, when the file doesn't exist, instead of waiting until timeout and exiting out. -- View this message in context:

Re: CXF component attachment support for POJO not implemented as specified

2014-11-19 Thread pkmcculloch
I agree that the work for CAMEL-7181 doesn't cover all cases. Looking at the current source I see a couple of issues: 1) populateExchangeFromCxfRequest(Exchange, Exchange) doesn't check MTOM_ENABLED - it never includes attachments for POJOs 2) populateCxfResponseFromExchange(Exchange, Exchange)

Headaches using PostgreSQL and Camel with connection pooling

2014-11-19 Thread Camel Guy
I have discovered that PostgreSQL, Camel, and connection pools are a toxic combination when the schema search path isn't set on a per-user basis (which I can not do). Part of the problem is that the Postgres JDBC doesn't want to add schema search path to the url. As a work-around, the jdbc/sql

AHS-WS problem?

2014-11-19 Thread jogro
Hi, I wanted to try out the new AHS-WS and Websocket components together with Spring Boot so I set up two maven projects based on Spring Roo 1.1.9.RELEASE Apache Camel 2.14.0. Java 1.8_05 (MacOS X) One client project using the following route configuration:

Re: AHS-WS problem?

2014-11-19 Thread Aki Yoshida
Hi, I can look at it tomorrow to confirm what I am saying below. A quick answer is that ahc-ws sends messages differently based on the java type of the message. In your case, you have an input stream based object when there is no string converter, In this case, the message is sent in a series of

Re: AHS-WS problem?

2014-11-19 Thread Aki Yoshida
you don't have an input stream based message but you have a byte[] message. the rest of the story stays the same. 2014-11-20 0:47 GMT+01:00 Aki Yoshida elak...@gmail.com: Hi, I can look at it tomorrow to confirm what I am saying below. A quick answer is that ahc-ws sends messages differently

Re: How to get Spring System Environment variables in camel properties

2014-11-19 Thread harmohan.singh
do you mean However Spring have a limitation which prevents 3rd party frameworks to leverage Spring property placeholders to the fullest yea, i got that -- View this message in context:

Re: CXF component attachment support for POJO not implemented as specified

2014-11-19 Thread Willem Jiang
Hi Paul, For the POJO, we don’t want to export the attachment from message to the user as the user can access the attachment from the POJO parameter list. If we expose the attachment throw the message API for the POJO data formate, it could cause some trouble if the user makes some changes

Register a new datasource from a route

2014-11-19 Thread Camel Guy
Hello, I was wondering if a route could invoke a bean (or run, say, a groovy script) that registered a new datasource. Something like: route :: 1) Instantiate datasource 2) Add datasource instance to the registry under key A 3) recipientList(jdbc:A?...) This datasource needs to be created long

Re: Register a new datasource from a route

2014-11-19 Thread Willem Jiang
You can define a factory bean to instantiate the data source. When the object export with the name A, camel can look it up from the Spring application context. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com

Re: direct-vm in OSGI - how to handle context updates?

2014-11-19 Thread Willem Jiang
Hi Thomas, As the “vm-producer” and “vm-consumer” are decoupled, you have to address the context start order from outside (such as deploy time). -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter:

Re: Problem Configuring WSS4JInInterceptor using camel-config.xml

2014-11-19 Thread Willem Jiang
When you use the Message data format, camel cxf endpoint doesn’t read the request message which means it doesn’t prepare the SOAP message header for  WSS4JInInterceptor to process. You can change the CXF endpoint data format to CXF_MESSAGE, in this way, camel-cxf call all the interceptors and