Re: Reading queunames from database to camelcontext.xml

2014-09-18 Thread Pontus Ullgren
You can use a custom processor or the content enrich[1] EIP to fetch the queuename from the database and set the CamelJmsDestinationName header. There is a small example in the JMS component[2] documentation. As an alternative you can populate a header (as above) and then use the recipient list[3]

Reading queunames from database to camelcontext.xml

2014-09-18 Thread trilochan237
Hi All, Is it possible to pass queuenames to camelcontext.xml file at runtime by fetching from database? -- View this message in context: http://camel.465427.n5.nabble.com/Reading-queunames-from-database-to-camelcontext-xml-tp5756730.html Sent from the Camel - Users mailing list archive at Na

please help with transformation of a response by xslt

2014-09-18 Thread aioria3077
*have a original Web Services, a proxy which has a transformation because you need to add data authentication, the request works fine, can consume the service, but I need to transform the response to the expectations created my webService proxy, the transformation applied in the same way which the

Re: @Consumed

2014-09-18 Thread Willem Jiang
FYI, I commit a quick fix for it. Now the @Consumed annotated method can add a parameter of exchange. You can verify the patch by using latest Camel 2.15-SNAPSHOT. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chi

Re: [CXF RS] CXF producers using HttpApi and URI substitutions

2014-09-18 Thread Willem Jiang
Sure, I will do it once I finished the release work of Camel 2.14.0. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On September 18, 2014 at 7:05:14 PM, Sergey Bery

Apache Camel 2.14.0 released

2014-09-18 Thread Willem Jiang
The Camel community announces the immediate availability of the new major release Camel 2.14.0. This release contains a total of 399 fixes applied in the past 6 months by the community on the Camel master branch.  The artifacts are published and ready for you to download[1] either from the Apac

Re: Preferring bean or processor invocations on a route

2014-09-18 Thread Matt Sicker
A combination of beans and processors can help prevent tight coupling to the Camel API. Now I don't personally do this since I really like Camel, so I don't mind the hard dependency (plus we tend to use the annotations with beans). On 18 September 2014 00:00, Jan Matèrne (jhm) wrote: > With bean

Re: Error with transform

2014-09-18 Thread MichaelAtSAG
I refactored using try..catch and it doesnt catch the exception: Is the exception correct? http://camel.apache.org/schema/spring"; id="STEP3_TweetReceivedFromJMS"> JMS Channel processing tweet event from @${header.Status$User$ScreenName} at ${header.

Re: Error with transform

2014-09-18 Thread MichaelAtSAG
Hi Claus, good to hear from you. I added the exception clause to the context, yet it is generating an error. Exception clause: java.lang.ArrayIndexOutOfBoundsException

Re: Error with transform

2014-09-18 Thread MichaelAtSAG
Thanks Claus, good to hear from you. I added this exception block to the context, yet the exception continues: Does the route contain the correct exception qualified name? or should i be "org.apache.camel.RuntimeCamelException"?

testing the tracer

2014-09-18 Thread apanday
Hi, I'm writing a "functional tracer" (similar to the jpa tracer example) and i have two issues - I'd like to test my traces, independently of the actual DB (a nosql in my case), so i'm trying to "weave" a mock in place, like: weaveById("direct:tracer").replace.to("mock:traced") the route "direc

Jetty continuation timeout ignored in Karaf

2014-09-18 Thread rsteppac2
Hello all, I am experimenting with Camel (2.13.2) routes using Karaf (2.3.7) as the runtime. I encountered a problem with Jetty continuation timeouts. They seem to get ignored. It does not matter whether I explicitly set the timeout or leave the default. During deployment of the bundle containing

Re: TypeConverter suddenly not available...

2014-09-18 Thread Charles Moulliard
Hi Sven, Can you put a breakpoint into this class at the following method to see if the typeConverter object is removed at a specific moment ? package org.apache.camel.core.osgi; public class OsgiTypeConverter extends ServiceSupport implements TypeConverter, TypeConverterRegistry,

Re: Camel router stops reading messages from rabbitMQ

2014-09-18 Thread Milind
Hi Willem, Thanks for your quick response. I am using camel 2.13.1 and rabbitMQ 3.3.4 I was analyzing production logs and observed that I am able to get messages from rabbitmq but camel processor is unable to produce zip file after certain period of time. Here are the excerpt of logs for referenc

Re: [CXF RS] CXF producers using HttpApi and URI substitutions

2014-09-18 Thread Sergey Beryozkin
Hi Willem IMHO the pull request created by François is good to be applied, Can you give me a favor and apply it if you are happy with it too ? Cheers, Sergey On 16/09/14 14:56, Willem Jiang wrote: You can fill a JIRA[1] and add the JIRA number into PR comments. In this way, Apache JIRA can link

RE: TypeConverter suddenly not available...

2014-09-18 Thread Svend-Ole Nielsen
Hi Charles Sorry for not providing the info. The camel version is 2.13.1. The converter is an OSGI bundle with several other stuff, which works fine in other routes - also after the converter is "lost". The converters I have are listed with full name - one per line in a file located under META-

Re: BAM Support in Camel - ActivityMonitorEngine-- Failed to process expiration of: ActivityState[19 on ProcessInstance[44] Activity[1 name: bamB]]. Reason: java.lang.NullPointerException

2014-09-18 Thread Claus Ibsen
Hi Try with Camel 2.13.2 or the upcoming 2.14.0. On Tue, Sep 16, 2014 at 1:00 PM, Ravi Gupta 7 wrote: > I have created two activeMQ [bamA and bamB]. > Also created a AcctInqProfileCheckActivity as a routeBuilder under camel > context. > Below is the overridden configure () method. > > When I se

The doc isent namespaceAware, how to set this up ?

2014-09-18 Thread Frankiboy
I need to get the target namespace "targetNamespace="http://schemas.bankconnect.dk/2014""; of incomming soap message: http://www.w3.org/2001/XMLSchema"; xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; xmlns:tns="http://schemas.bankconnect.dk/2014"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap

Re: TypeConverter suddenly not available...

2014-09-18 Thread Charles Moulliard
Hi Svend, Can you please provide us more info about your use case ? Version of Camel used, how your project is packaged (bundle, jar) ? Do you use a bundle Activator to start your camel route(s) or Spring/Blueprint ? How have you added your typeConverter ? Are you sure that it is gone ? What is e

TypeConverter suddenly not available...

2014-09-18 Thread Svend-Ole Nielsen
Hi all I have made my own typeconverter, which works perfectly when it is available. But all of a sudden the route stops with an error stating that a convert could not be found. If I then restart the route everything works until it looses the converter again. Anyone with an idea as to why it "

Timer to trigger ftp downloads

2014-09-18 Thread Svend-Ole Nielsen
Hi all Is it possible to have a TO FTP act like a FROM FTP ?? I would like to download several things from a server that unfortunately only allows one connection pr. User. I know that you can use delay on FTP, but if they run on top of each other the FTP will allow only the first, which causes

Re: Error with transform

2014-09-18 Thread Charles Moulliard
Hi Michael, If you use a Camel Interceptor to handle the exceptions throws, you will be able to manage your use case (http://camel.apache.org/exception-clause.html ). Regards, On Wed, Sep 17, 2014 at 10:59 PM, MichaelAtSAG wrote: > Hi all, > > We have a SIMPLE transform step in a route that r

Re: Mail , marking as read and unread.

2014-09-18 Thread Benoy Prakash
Still my mail is "marked as read(seen)", when it failed do complete the process(exchange); function. Will " exchange.getUnitOfWork().done(exchange); " make a mail "marked as unread" on a marked mail. On Thu, Sep 18, 2014 at 11:29 AM, Claus Ibsen-2 [via Camel] < ml-node+s465427n5756670...@n5.nabbl

RE: BAM Support in Camel - ActivityMonitorEngine-- Failed to process expiration of: ActivityState[19 on ProcessInstance[44] Activity[1 name: bamB]]. Reason: java.lang.NullPointerException

2014-09-18 Thread Ravi Gupta 7
Version -I am using is --> Camel - core 2.13.1.jar / Camel-bam 2.13.1.jar -Original Message- From: Ravi Gupta 7 [mailto:rgupt...@sapient.com] Sent: Wednesday, September 17, 2014 12:37 PM To: claus.ib...@gmail.com; users@camel.apache.org Subject: RE: BAM Support in Camel - ActivityMonitor