Re: XSL stylesheet from database

2015-06-13 Thread Claus Ibsen
Hi There was a function until https://issues.apache.org/jira/browse/CAMEL-7129 As it was due some security issue afair On Tue, Jun 9, 2015 at 12:09 PM, est412 wrote: > I might be wrong, but recepientList EIP deals just with dynamic uri > construction (i.e. dynamic endpoint selection, uri parame

Re: How to identify whether all nodes are processed.?

2015-06-13 Thread Claus Ibsen
Same question posted on Stackoverflow http://stackoverflow.com/questions/30809200/how-to-identify-whether-all-nodes-are-processed On Sat, Jun 13, 2015 at 2:36 PM, mnki wrote: > I have created a interceptor added to the context.This interceptor is getting > executed for each node in the route.But

Re: Pojo @Consumer Annotation

2015-06-13 Thread Claus Ibsen
Hi Does the SQL return any data at all? You have set consumer.routeEmptyResultSet which could be that an empty body is sent On Sat, Jun 13, 2015 at 2:35 PM, kalber wrote: > I'm using this in a pojo : > > @Consume(uri = "sql: select codaz, codbus, logmsg from bus.buslogger where > loglev = 'STS_

Re: ClassCastException in blueprint Route

2015-06-13 Thread John Dubchak
Hi Yogesh, I actually (and accidentally) replied directly to Andy. Here is the declaration of the bean and the service export in the provider's blueprint.xml: class="com.example.services.configuration.local.LocalConfigurationService"> interface="com.example.services.configur

How to identify whether all nodes are processed.?

2015-06-13 Thread mnki
I have created a interceptor added to the context.This interceptor is getting executed for each node in the route.But i want to identify when processing of all nodes is complete and do some action. public class MyInterceptStrategy implements InterceptStrategy { public int count = 0; @Override p

Pojo @Consumer Annotation

2015-06-13 Thread kalber
I'm using this in a pojo : @Consume(uri = "sql: select codaz, codbus, logmsg from bus.buslogger where loglev = 'STS_CFG' and (logmsg like 'V60%' or logmsg like 'V65%') and instr(logmsg,'UNREACHABLE') = 0 and instr(logmsg,'UNKNOWN') = 0 and substring(scriptver,instr(scriptver,'=')+1) >= '2.2.0' and

Re: Trace from and to endpoints

2015-06-13 Thread Claus Ibsen
Hi See also the message history eip pattern On Wed, Jun 10, 2015 at 5:51 PM, rwijngaa wrote: > Hi, > > What would be the best way to gather the 'path' a camel route takes for an > audit log. > The way i see it i have at least 3 options: implement my own Tracer > (http://camel.apache.org/tracer.

Re: DeadLetterQueue -- Access the object before shutDown

2015-06-13 Thread Claus Ibsen
Hi What kind of DLQ are you using? On Wed, Jun 10, 2015 at 2:15 PM, udaykumarjonna wrote: > Hi All , > > I have a requirement where i am submitting some sort of data to some > application ,where any exception occurs it redirects to Dead Letter queue > where it is configured to retry of s

Re: using basic auth to protect camel rest dsl routes

2015-06-13 Thread Claus Ibsen
Hi Thanks for sharing this blog. I am adding a link to it from our articles page http://camel.apache.org/articles On Fri, Jun 12, 2015 at 7:13 AM, Dan Moore wrote: > Hi folks, > > After banging my head for a bit, I wrote a blog post about using basic auth > to protect rest dsl routes served usin

Re: Tooling for Idea and Netbeans?

2015-06-13 Thread Claus Ibsen
Hi Tim Yeah it was a great day. I enjoyed being there and hear all the Camel war stories. There is Camel tooling being developed as part of the fabric8 project. Its a set of Camel commands as a JBoss Forge addon. The tools has some documentation at http://fabric8.io/guide/forge.html albeit it c

Re: Removing namespaces from soap response using SoapOutInterceptor

2015-06-13 Thread François LIOT
Hi, I wouldn't pretend it's a clean solution, but at least it works ${body.replace("xmlns:xsi=", "remove1=")} ${body.replace("xmlns:xsd=", "remove2=")} ${body.replace("xmlns=", "remove3=")} Regards, François Liot ​ From: Claus Ibsen Sent:

Re: Having problems with CamelContext.addRoutes() and ActiveMQ

2015-06-13 Thread Claus Ibsen
Hi You can define routes in xml files too. And ActiveMQ comes with a camel.xml sample out of the box. You can configure ActiveMQ to import and use that xml file, or copy the xml to the main activemq configuration file. Having the in the xml file is a good idea as it allows AMQ to control the lif

Re: printing message history in the order of routes declaration

2015-06-13 Thread Claus Ibsen
Its listed in the exact order the message is being routed. If you want to group by routes then you can just sort the list before printing. On Thu, Jun 11, 2015 at 7:12 PM, mnki wrote: > Hi > > I have two routes route1 and route2.A bean in route1 is calling the route2. > I want to log the time ta

Re: Removing namespaces from soap response using SoapOutInterceptor

2015-06-13 Thread Claus Ibsen
Hi You can ask on Apache CXF user list On Thu, Jun 11, 2015 at 7:45 PM, gargankur007 wrote: > http://schemas.xmlsoap.org/soap/envelope/";> > > xmlns:ns2="http://wem-rmhpimpl.demo.hcentive.com:9090/wsx/services/WemRmhpHop3PaymentEffectuationService"/> > > > This is current out

Re: Exchange Body is getting changed .

2015-06-13 Thread Claus Ibsen
Hi Sounds like some encoding problem. Maybe try using \u for the TM symbol - eg the unicode number. On Fri, Jun 12, 2015 at 11:41 PM, joy.rsjoy wrote: > I tried to pass *{ "Data":"Trademark symbols ™"} * to one end point . But I > am getting *{ "Data":"Trademark symbols ? "} * in the other