Cache level for non-transacted producers, activemq?

2016-03-21 Thread raffi
I'm using CACHE_CONSUMER for concurrent queue consumers (non-transacted), that works fine. For producers, what should the cache level be assuming non-transacted sessions? Is CACHE_SESSION ok? I want to avoid creating/destroying sessions for each send operations. I've configured separate connectio

Re: Solr Component Compatibility

2016-03-21 Thread Mansour Al Akeel
Created issue: https://issues.apache.org/jira/browse/CAMEL-9736 On Mon, Mar 21, 2016 at 2:32 AM, Claus Ibsen wrote: > Hi > > Sounds like we could improve this, so you can specify the content-type > using the Exchange.CONTENT_TYPE header. > You are welcome to log a JIRA > http://camel.apache.org

Re: Activity feeds and email notifications

2016-03-21 Thread Walzer, Thomas
You do not need hundreds of endpoints to send to hundreds of email recipients. You just need one endpoint (smtp). This one is configured for your smtp host. Then you vary only the mail recipients in a header value. > Am 21.03.2016 um 16:03 schrieb camrider : > > I think I'm misunderstanding how

Re: Bug in RestSwaggerReader.appendModels() - need confirmation

2016-03-21 Thread Claus Ibsen
Hi I logged a ticket https://issues.apache.org/jira/browse/CAMEL-9732 On Fri, Mar 18, 2016 at 12:55 PM, Claus Ibsen wrote: > On Thu, Mar 10, 2016 at 1:26 AM, tomb50 wrote: >> Hi, >> >> I have encountered an issue relating to the Swagger component of Camel, I >> believe it is related to the Rest

RE: Quartz schedule too many workers in route

2016-03-21 Thread Hans Orbaan
Hi Claus, It was in the email I forwarded. So below my new email. But here it is: from(file:///mnt/sl-nl/bij/outbox/?sortBy=ignoreCase:file:name&filter=#fileFilter&recursive=false&move=processed&moveFailed=failed&scheduler.cron=0+0/1+0-23+?+*+1,2,3,4,5,6,7&scheduler=quartz2&scheduler.triggerId=nl

Re: Quartz schedule too many workers in route

2016-03-21 Thread Claus Ibsen
On Mon, Mar 21, 2016 at 3:23 PM, Hans Orbaan wrote: > Hi, > > Is there someone that can help a bit with the issue below? > > An endpoint (file) with a quartz cronschedule is not stateful. This means an > schedule that triggers every minute it will start processing with multiple > threads after 1

Delete activemq queue(purge all messages) dynamically from camel.

2016-03-21 Thread igor
Hi, I have a specific route started by cron. This route is actively interacting with specific queue, but this queue can contain some stale messages when my route starts. I would like to purge this messages and work on empty queue. I found an old question on the same topic: http://camel.465427.n5.

Re: Problem with CXF Payload Dataformat and Camel 2.16.1

2016-03-21 Thread Joseph Kampf
Another look at this, the problem might have been introduced by CAMEL-8663. Before the commit to solve this issue there did not seem that nsMap was populated by the Cxf Message Part “soap.body.ns.context”. Joe From: "joseph.ka...@gmail.com" Date: Monday, March 21, 2016 at 11:02 AM To:

Re: Activity feeds and email notifications

2016-03-21 Thread camrider
I think I'm misunderstanding how recipientList is being used. I want to send an email message to an arbitrary number of Users (e.g. tens) based on a change/message from hundreds of Projects. Should I be dynamically adding/removing endpoints for hundreds of project-users? The recipient list pattern

Re: Problem with CXF Payload Dataformat and Camel 2.16.1

2016-03-21 Thread Joseph Kampf
I did a little bit more digging and stepping through the camel-cxf code. I think I tracked down the issue to this method in DefaultCxfBinding.java protected static void addNamespace(Element element, Map nsMap) { for (String ns : nsMap.keySet()) { // We should not overri

Re: unit test with advice

2016-03-21 Thread Mary Cochran
Thanks Andy! That information is super helpful. I was struggling to find a good example that used basic auth and/or unit test with advice. Thanks, Mary Cochran On Sun, Mar 20, 2016 at 12:38 PM, Andrew Block wrote: > Mary, > > The NPE on context.start() may have been a bit of a red herring as

RE: Quartz schedule too many workers in route

2016-03-21 Thread Hans Orbaan
Hi, Is there someone that can help a bit with the issue below? An endpoint (file) with a quartz cronschedule is not stateful. This means an schedule that triggers every minute it will start processing with multiple threads after 1 minute if it did not finish the job. My quess is this is unwant

Re: Camel Synchronous One time Routing for files

2016-03-21 Thread Premkumar
Thanks Quinn, for your valuable ideas. I have to explore the options "RouteBuilder as Template" and "Camel SCR". I am a newbee for camel, i have used camel hardly for 2 months, still learning camel components. Regarding your question on retries. Its the polling for FTP. -- View this message in

Correct pattern for message dependencies

2016-03-21 Thread Chris Hunter
I have some distributed processing that would need to message after the completion of all the sub-tasks, which is working via Beakstalkd. The design was based upon existing Python implementations, where the jobs are posted to a queue and responses are posted to a unique queue based upon the parent

Re: camel CxfRsProducer not returning appropriate error status codes

2016-03-21 Thread Sergey Beryozkin
Thanks, only one comment re the previous message where you showed the code casting ContainerResponseContext to its CXF implementation, this is not needed in general; I'm still planning to investigate how to handle the flow without relying on "throwExceptionOnFailure=false", but good to know you

problem to connect to https server with apache camel

2016-03-21 Thread nabil.ouazzani
Context of my problem : I'm working with apache camel in servicemix, and i'm developing a bundle. In this bundle, the following endpoint is defined in a route : As you can see in the value of the "uri" attribute, i use a HTTP proxy. My goal is to do a HTTP POST request to the "URL_I_WANT_TO_CO