Re: camel-core not detecting converters on bundle restart in karaf4

2016-12-25 Thread yogu13
btw whats the use of camel-core-osgi ?? is it mandatory to be installed when working with OSGI? -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/camel-core-not-detecting-converters-on-bundle-restart-in-karaf4-tp5791503p5791937.html Sent from the Camel - Users mailing

Re: camel-core not detecting converters on bundle restart in karaf4

2016-12-22 Thread yogu13
Sure will have it up in couple of hours :) Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/camel-core-not-detecting-converters-on-bundle-restart-in-karaf4-tp5791503p5791857.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: how to change the logging level dynamically

2016-12-21 Thread yogu13
check JMX.. log4j configurations can be chabged via JMX Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/how-to-change-the-logging-level-dynamically-tp5791782p5791813.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel-core not detecting converters on bundle restart in karaf4

2016-12-20 Thread yogu13
Is this a defect should i raise a JIRA ? Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/camel-core-not-detecting-converters-on-bundle-restart-in-karaf4-tp5791503p5791744.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Json format disturbed // Rest DSL + Jackson

2016-12-20 Thread yogu13
Hello Reji, I suspect the postman httpclient is removing the doublequotes before it posts the message. You can confirm by checking the httprequest sent using any tunnel of your choice, I have used nettool in past and work for me. Regards, -Yogesh -- View this message in context: http://camel.

Re: Json format disturbed // Rest DSL + Jackson

2016-12-20 Thread yogu13
How are you sending the JSON data using httpclient ? Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/Json-format-disturbed-Rest-DSL-Jackson-tp5791716p5791727.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Only 200 threads limit in Jetty.

2016-12-19 Thread yogu13
Hello XoshniK, Do note threads increased in jetty would only affect the http endpoint. Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/Only-200-threads-limit-in-Jetty-tp5791477p5791714.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel-core not detecting converters on bundle restart in karaf4

2016-12-18 Thread yogu13
Hello Claus, I tried the same scenario after upgrading CAMEL to 2.18.1 and KARAF to 4.0.5. I also noticed camel-core fails to detect the converters and ends up throwing "org.apache.camel.InvalidPayloadException No body available of type" only when using converters are implemented as static metho

Re: camel-core not detecting converters on bundle restart in karaf4

2016-12-16 Thread yogu13
Hi Claus, I havent checked upgrading karaf and camel and to be frank its a little tedious for us to get it upgraded for now but anyways i will try checking that. I ran down into a similar issue with JPA enabled bundles only to discover that Hibernate was causing the issue. https://hibernate.atlass

Re: camel-core not detecting converters on bundle restart in karaf4

2016-12-15 Thread yogu13
Any views or ideas on how to come around it? Let me know if anyother information is needed. Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/camel-core-not-detecting-converters-on-bundle-restart-in-karaf4-tp5791503p5791527.html Sent from the Camel - Users ma

Re: Only 200 threads limit in Jetty.

2016-12-15 Thread yogu13
The default size of QueuedThreadPool in jetty is 200 incase you wish to increase it then add threadpool section to your jetty.xml 10 1000 Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/Only-200-threads-limit-in-Jetty-tp579147

camel-core not detecting converters on bundle restart in karaf4

2016-12-15 Thread yogu13
Hi, I hit across a strange issue with camel 2.16.3 in karaf 4.0.5. The issue is we have camel with few other components (blueprint, activemq, jaxb etc) installed in karaf 4. I have a bundle which has route defined along with a converter (using @converter ) annotation and FQCN mentioned as part of

Re: Limit Concurrent Access

2016-10-03 Thread yogu13
Hello Vitalii, I have in past extended throttler successfully to limit concurrent request, that too in a clustered environment across nodes. The scenario used in was to limit our clients based on certain number of concurrent requests they can send. The number of concurrent requests was based on th

Re: CamelSmppError=034,CamelSmppStatus=UNDELIV

2016-10-03 Thread yogu13
check you error code meaning SMPP Error Code and modify accordingly -- View this message in context: http://camel.465427.n5.nabble.com/CamelSmppError-034-CamelSmppStatus-UNDELIV-tp5788288p5788337.html Sent from the Camel - Users mailing list

Re: Access responseRequired ActiveMQTextMessage

2016-10-03 Thread yogu13
I think setResponseRequired is ActiveMQ specific and isnt available as part of JMS API as such. Try using replyTo instead. usage examples can be found @ camel - jms -- View this message in context: http://camel.465427.n5.nabble.com/Access-res

Re: Limit Concurrent Access

2016-10-03 Thread yogu13
I think throttler can be used in your case. Unless you feel there couldnt be a issue when you use it. Other approach is by using Route Policy Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/Limit-Concurrent-Acce

Re: SOAP 1.2 and cxf end point

2016-07-06 Thread yogu13
Hello, If using xml try specifying the version for soap binding or incase of annotations try specifying it as below @SOAPBinding(style = Style.DOCUMENT) Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/SOAP-1-2-and-cxf-end-point-tp5771070p5784906.html Sent

Re: Throttle Camel Requests based on query param

2016-06-16 Thread yogu13
check Dynamically changing maximum requests per period @ http://camel.apache.org/throttler.html you can set the query param to exchange header and throller can pick this value from header. Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/Throttle-Camel-Reque

Re: org.apache.camel.NoTypeConversionAvailableException while using WireTap

2016-06-07 Thread yogu13
Glad this works! but your earlier one should also work...there was a support for dynamic uri added to wiretap as part of 2.16, Not sure if it has a issue. Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/org-apache-camel-NoTypeConversionAvailableException-whi

Re: bean binding regression bug

2016-06-06 Thread yogu13
it was changed as part of CAMEL-9656, you can comment on the JIRA and check the response. -- View this message in context: http://camel.465427.n5.nabble.com/bean-binding-regression-bug-tp5783228p5783528.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Updating datasource at runtime with camel-sql

2016-06-06 Thread yogu13
you can think of wrapping your datasource which would contain the toggle logic based on your conditions and delegate the call to actual datasource. the SQL component would get an instance of your datasource. Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/U

Re: CSV TO XML converter not replacing ASCII NULL character

2016-06-06 Thread yogu13
ASCII Null and Java null are 2 different things and hence valid xml isnt getting produced. I would suggest 1. either replace the ASCII null to "" (empty or null) and get it transformed 2. manually transform. Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.co

Re: org.apache.camel.NoTypeConversionAvailableException while using WireTap

2016-06-06 Thread yogu13
by any chance your body of the exchange is null ? Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/org-apache-camel-NoTypeConversionAvailableException-while-using-WireTap-tp5783486p5783525.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: org.apache.camel.NoTypeConversionAvailableException while using WireTap

2016-06-06 Thread yogu13
Hi, I am suspecting the LoggerService bean has a method which takes in param, is it a User defined Object which is sent as a param to the method ? Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/org-apache-camel-NoTypeConversionAvailableException-while-usin

Re: Camel AMQ - SSL and XA

2016-06-06 Thread yogu13
Hi, doesn't look like there is one.. However if you do not have to set key and trust managers you can use the ActiveMQXAConnectionFactory factory itself, if you need to specify the key and trust managers see if you can extend the ActiveMQXAConnectionFactory and provide the necessary setting. BTW

Re: camel-sql - SQL IN Query issue (2.17.1)

2016-05-31 Thread yogu13
i see unit tests written for supporting in clause not sure how r they passing regards, -Yogesh On Tuesday 31 May 2016, imranrazakhan [via Camel] < ml-node+s465427n5783319...@n5.nabble.com> wrote: > Hi Yogesh, > > it look like there is issue in Using IN queries with dynamic values, as > its worki

Re: camel-sql - SQL IN Query issue (2.17.1)

2016-05-31 Thread yogu13
looks like the context for route and context where datasource is set are different and hence datasource is not found.. try setting the datasource first and pass the same camel context to your route builder regards, -Yogesh On Tuesday 31 May 2016, Yogesh Rao wrote: > your datasiyrce is not conf

Re: camel-sql - SQL IN Query issue (2.17.1)

2016-05-31 Thread yogu13
your datasiyrce is not configured.. can you make sure its working? regards, -yogesh On Tuesday 31 May 2016, imranrazakhan [via Camel] < ml-node+s465427n5783303...@n5.nabble.com> wrote: > Following main class > > Main main = new Main(); > main.addRouteBuilder( new GetAccountStatus

Re: camel-sql - SQL IN Query issue (2.17.1)

2016-05-31 Thread yogu13
can you try removing the datasource as a parameter to the sql component and instead set the data source as and check // required for the sql component getContext().getComponent("sql", SqlComponent.class).setDataSource(db); Regards, -Yogesh -- View this message in context: http

Re: camel-sql - SQL IN Query issue (2.17.1)

2016-05-31 Thread yogu13
instead of simple("12345,56789") can you try new String[]{"12345", "56789"} Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/camel-sql-SQL-IN-Query-issue-2-17-1-tp5783264p5783293.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel-sql - SQL IN Query issue (2.17.1)

2016-05-30 Thread yogu13
Hi, Following information will help! 1. CSV contents 2. Camel Version Alternatively you can also check if the CSV component available can be used in your case. Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/camel-sql-

Re: Camel DSL & WMQ ... Not Working as expected

2016-05-25 Thread yogu13
This should help u..http://camel.apache.org/graceful-shutdown.html Regards, -Yogesh On Wed, May 25, 2016 at 4:49 PM, N.S.KARTHIK [via Camel] < ml-node+s465427n5783070...@n5.nabble.com> wrote: > Hi > > Thx for the suggestion > > Used the following > > main.enableHangupSupport(); > //main.start()

Re: Camel DSL & WMQ ... Not Working as expected

2016-05-24 Thread yogu13
instead of main.start would suggest main.run() Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/Camel-DSL-WMQ-Not-Working-as-expected-tp5782772p5783039.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Issues Using Mybatis Camel Component and SpringBoot

2016-05-22 Thread yogu13
Need more information on Mybatis / database and camel configuration for the same. Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/Issues-Using-Mybatis-Camel-Component-and-SpringBoot-tp5782840p5782895.html Sent from the Camel - Users mailing list archive at N

Re: File component: Dynamically decide whether a file should be deleted or not

2016-05-22 Thread yogu13
Hi, One way i can think of ...One figuring the file needs to be deleted within the route, then move the files which needs to be deleted to a directory lets call it /delete. Have another route which keep sensing the delete directory and deletes them. Regards, -Yogesh -- View this message in c

Re: Camel DSL & WMQ ... Not Working as expected

2016-05-22 Thread yogu13
Based on this "Received hang up - stopping the main instance." I suspect the camel's main thread is existing. Just curious how are you starting you camel ? is it embedded into a webapp, or through maven etc etc. Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.

Re: Running Same set of Camel routes (Camel Context) on multiple nodes

2016-05-17 Thread yogu13
if you are using timer to trigger the poll for file transfer then quartz could be used, quartz has cluster support. Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/Running-Same-set-of-Camel-routes-Camel-Context-on-multiple-nodes-tp5782680p5782702.html Sent f

Re: rest to soap

2016-05-16 Thread yogu13
A simpler way would be to use camel-cxf see if your can use this http://camel.apache.org/cxf.html Regards, -Yogesh On Mon, May 16, 2016 at 5:14 PM, miri eyni [via Camel] < ml-node+s465427n5782665...@n5.nabble.com> wrote: > i converted the json to xml > i try to send soap request from rest , on t

Re: rest to soap

2016-05-16 Thread yogu13
You need to transform the data which your SOAP endpoint can understand. Looks like you are missing that piece of code. BTW I see your payload is XML instead of JSON from the logs you added. Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/rest-to-soap-tp578

Re: rest to soap

2016-05-16 Thread yogu13
Status code 403 means its forbidden to access the url. is the url protected ? if yes then you might have to provide authentication details Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/rest-to-soap-tp5782601p5782609.html Sent from the Camel - Users maili

Re: rest to soap

2016-05-16 Thread yogu13
try setting the body of in message with the jsonObj exchange.getIn().setBody(jsonObj); and set the bean invocation to out as follows exchange.getOut.setBody(beanInvocation) Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/rest-to-soap-tp5782601p5782607.h

Re: rest to soap

2016-05-15 Thread yogu13
Looks like you are not reading the request body which has come in as part of the from("jetty:http://localhost:8080/json?matchOnUriPrefix=true";) try reading it and convert it to the datatype that the route would use. Regards, -Yogesh -- View this message in context: http://camel.465427.n5

Re: ClassNotFoundException ObjectFactory

2016-05-12 Thread yogu13
Need more info on your route and project setup.. Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/ClassNotFoundException-ObjectFactory-tp5782443p5782502.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel2.17: No bean could be found in the registry

2016-05-11 Thread yogu13
Hi, Based on configurations available for spring you can try specifying your custom registry as a bean , just make sure it has only one bean of type Registry. By default spring ends up using ApplicationContextRe

Re: Camel2.17: No bean could be found in the registry

2016-05-11 Thread yogu13
okay.. let me check and get back to you.. regards, -Yogesh On Monday 9 May 2016, bprager [via Camel] < ml-node+s465427n5782387...@n5.nabble.com> wrote: > Yogesh. > Yes, Consul is similar to ZooKeeper, but has some more advanced features > in terms of health-check and multi-datacenter support. >

Re: Netty4 HTTP - java.lang.NoSuchMethodError: io.netty.util.internal.AppendableCharSequence.charAtUnsafe(I)C

2016-05-11 Thread yogu13
Looks like some issue with dependencies of Netty. Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/Netty4-HTTP-java-lang-NoSuchMethodError-io-netty-util-internal-AppendableCharSequence-charAtUnsafe-IC-tp5782365p5782369.html Sent from the Camel - Users mailing

Re: Camel2.17: No bean could be found in the registry

2016-05-09 Thread yogu13
Hi, I am assuming you are using the same context which has the registry bound "CamelContext context = new DefaultCamelContext(registry);" you can add routes to the context as below context.addRoutes(new RouteBuilder() { @Override public void configure() { from("jetty://

Re: Netty4 HTTP - JAAS issue

2016-05-05 Thread yogu13
Hi, Rather than init can you set this as part of the systemPropertyVariables in maven-surefire-plugin Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/Netty4-HTTP-J

Re: Camle Tracer issue

2016-05-05 Thread yogu13
I hope u have enabled tracer using context.setTracing(true) also what do you see as part of logs ? Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/Camle-Tracer-issue-tp5782140p5782256.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: ampersand in ftp password

2016-03-01 Thread yogu13
assuming you are using karaf environment did you use config admin service to resolve the cfg or camel placeholders? Regards, -Yogesh On Tuesday 1 March 2016, jamesburn [via Camel] < ml-node+s465427n5778474...@n5.nabble.com> wrote: > Hi > > Thanks. > > We originally had them in a property placeh

Re: ampersand in ftp password

2016-03-01 Thread yogu13
Hi, you could try using property placeholders for password Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/ampersand-in-ftp-password-tp5778469p5778473.html Sent from the Camel - Users mailing list

Re: How to insert Date String as date in MongoDB

2016-02-29 Thread yogu13
Apologies for delayed response! can u try having it as Date instead of String? Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/How-to-insert-Date-String-as-date-in-MongoDB-tp5778310p5778457.html Sent from the Camel - Users mailing list archive at Nabble.com

Re: How to insert Date String as date in MongoDB

2016-02-27 Thread yogu13
Hi, What datatype is CreatedDateTimeUTC after it is converted using .convertBodyTo(DBObject.class) Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/How-to-insert-Date-String-as-date-in-MongoDB-tp5778310p5778385.html Sent from the Camel - Users mailing list

Re: Issue in xml to csv conversion

2016-02-23 Thread yogu13
Hello, Try setting the allowMissingColumnNames=true Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/Issue-in-xml-to-csv-conversion-tp5778103p5778125.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Issue in xml to csv conversion

2016-02-23 Thread yogu13
Hi, Are you using any camel component for converstion or is it a custom code ? Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/Issue-in-xml-to-csv-conversion-tp5778103p5778106.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel-sjms support for JMS 2 in OSGI

2016-01-14 Thread yogu13
Generated a pull request -> https://github.com/apache/camel/pull/768 -- View this message in context: http://camel.465427.n5.nabble.com/camel-sjms-support-for-JMS-2-in-OSGI-tp5776164p5776223.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel-sjms support for JMS 2 in OSGI

2016-01-12 Thread yogu13
Hello Claus, Yes.. its the OSGI manifest. I will create a JIRA for the same. Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/camel-sjms-support-for-JMS-2-in-OSGI-tp5776164p5776182.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel-sjms support for JMS 2 in OSGI

2016-01-12 Thread yogu13
Thanks Antonin! I will wait for couple of more feedbacks before i raise the JIRA. Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/camel-sjms-support-for-JMS-2-in-OSGI-tp5776164p5776180.html Sent from the Camel - Users mailing list archive at Nabble.com.

camel-sjms support for JMS 2 in OSGI

2016-01-12 Thread yogu13
Hello, I looked into the manifest of the camel-sjms component and found that for now it is based on jms 1.1. Considering nothing much has changed in JMS 2, can the sjms component's manifest reflect jms version range till 3 (similar to camel jms). This way the compatibility with JMS 1.1 wouldn't be

Re: using Camel-JMS for HornetQ (Wildfly 9)

2015-12-30 Thread yogu13
I think the issue occurs as i am using spring 3 dependency with camel jms instead of spring 4 ones which actually support JMS2. Hopefully changing it should resolve the issue. -- View this message in context: http://camel.465427.n5.nabble.com/using-Camel-JMS-for-HornetQ-Wildfly-9-tp5775529p5775

Re: using Camel-JMS for HornetQ (Wildfly 9)

2015-12-30 Thread yogu13
Hello Claus, Thank you for the reply... I am using camel (2.16.1) deployed within Karaf which is trying to communicate with HornetQ. I noticed that HornetQ (v2.4) uses JMS 2.0 and camel components use JMS 1.1 as dependency. Here the camel JMS bundle fails to kick start as it doesnt not find javax

Re: using Camel-JMS for HornetQ (Wildfly 9)

2015-12-29 Thread yogu13
okay any ideas how it can be achieved? -- View this message in context: http://camel.465427.n5.nabble.com/using-Camel-JMS-for-HornetQ-Wildfly-9-tp5775529p5775557.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Clusturing Camel

2015-12-29 Thread yogu13
Add a load balancer to forward the request to apache camel on jetty. you can even use Apache HTTPD with the load balancer module in it for the same. -- View this message in context: http://camel.465427.n5.nabble.com/Clusturing-Camel-tp5775550p5775558.html Sent from the Camel - Users mailing lis

Re: jms ibm mq ssl connection from client

2015-12-29 Thread yogu13
Are your certs ip based ? if yes then that could be the problem Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/jms-ibm-mq-ssl-connection-from-client-tp5775406p5775560.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: MainListenerSupport afterStop is never called (spring.Main)

2015-12-29 Thread yogu13
Hello, Please let us know the camel version, code (if any) and logs etc Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/MainListenerSupport-afterStop-is-never-called-spring-Main-tp5775458p5775559.html Sent from the Camel - Users mailing list archive at Nabb

using Camel-JMS for HornetQ (Wildfly 9)

2015-12-28 Thread yogu13
Hello, Based on camel (2.16.x) POM's it looks like camel does not support JMS 2.0 spec and continues with the JMS 1.1, my question is has anyone tried connecting with HornetQ (JMS 2.0 spec) (available as part of Wildfly 9) using camel-jms or camel sjms ?? finally would camel start supporting JMS

Re: Delete a file from route XML

2015-12-03 Thread yogu13
if the file is the source of input for your route then you could use the delete option of File to get it done. Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/Delete-a-file-from-route-XML-tp5774626p5774649.html Sent fr

Re: CSV marshaller problem - accumulating columns

2015-12-01 Thread yogu13
if you have an example please post it here or on github so people can look into it. Also let us know the camel version which you are using. Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/CSV-marshaller-problem-accumulating-columns-tp5774556p5774612.html Se

Re: Producer-consumer problem in Camel

2015-12-01 Thread yogu13
what do you mean by "It still allows to process multiple user requests in time" ? Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/Producer-consumer-problem-in-Camel-tp5774608p5774613.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Route multithreading

2015-11-29 Thread yogu13
After the you can use a file producer component which would be like http://camel.465427.n5.nabble.com/Route-multithreading-tp5774510p5774541.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Sending Exchange to Multiple HTTP endpoints

2015-11-29 Thread yogu13
Will choose between Wire Tap or Multicast Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/Sending-Exchange-to-Multiple-HTTP-endpoints-tp5774480p5774542.html Sent from the

Re: Camel Simple deal with line breaks

2015-11-20 Thread yogu13
How about using .split(body(String.class).tokenize("\n")) ?? Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Simple-deal-with-line-breaks-tp5774105p5774142.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Reuse Exchange between routes using "direct" and "direct-vm"

2015-11-20 Thread yogu13
Hi, I think this should work, considering direct-vm was developed for communicating across contexts within the same VM. Not sure how it would behave in Fuse though. Can you confirm both the bundles use the same version of camel core dependency ? Regards, -Yogesh -- View this message in contex

Re: Reuse Exchange between routes using "direct" and "direct-vm"

2015-11-19 Thread yogu13
Hello! What do you mean by "when I call the next route" does it mean calling another route internally from the first route ? Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/Reuse-Exchange-between-routes-using-direct-and-direct-vm-tp5774124p5774126.html Sen

Re: OSGi CamelHttpTransportServlet error

2015-11-18 Thread yogu13
Hello! >From what I understand the code written to register servlets registers servlet with the OSGI's Web container at runtime. Since there is only one instance of the webcontainer available within the container you are ending up wiring different servlet instances against the same servlet name wh

Re: HTTP Proxy with File Attachments

2015-11-11 Thread yogu13
Couple of things could help you... 1. Enable camel and jetty logs 2. Try and configure a TCP Tunnel (like NetTool or anyother of your choice) so you can see what is the difference between requests. Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/HTTP-Proxy-

Re: Consume messages & rollback

2015-11-11 Thread yogu13
Camel's JMS component uses spring, i am afraid if for some reason do not want Spring as part of the stack then you will have to custom code the endpoint for yourself. Transactions support is what you need for achieving the required behaviour which camel supports. Regards, -Yogesh -- View this

Re: Java Standalone Application Stopped Automatically

2015-10-25 Thread yogu13
In case you app is running on NIX based system can you try trapping the signals to the process? perhaps that might help -- View this message in context: http://camel.465427.n5.nabble.com/Java-Standalone-Application-Stopped-Automatically-tp5772974p5773057.html Sent from the Camel - Users mailing

Re: Advice needed - throttling jms producing

2015-10-25 Thread yogu13
Done something similar in past, We prefered writing a camel processor and placed the blocking logic within it. -- View this message in context: http://camel.465427.n5.nabble.com/Advice-needed-throttling-jms-producing-tp5772967p5773056.html Sent from the Camel - Users mailing list archive at Na

Re: Java Standalone Application Stopped Automatically

2015-10-22 Thread yogu13
What do your application/camel logs say ? -- View this message in context: http://camel.465427.n5.nabble.com/Java-Standalone-Application-Stopped-Automatically-tp5772974p5772982.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: File to JMS queue not working

2015-10-20 Thread yogu13
Hi, Do you see anything comming up on logs ? if yes please share that. Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/File-to-JMS-queue-not-working-tp5772904p5772923.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: MDC information mess up after sent to activemq endpoint

2015-10-05 Thread yogu13
for response have you configured a JMS listener? A listener runs in a separate thread and wouldn't have the MDC information which you have set. if you JMS response has the UUID as part of it then you should reset the MDC with the value received from JMS. -- View this message in context: http:/

Re: cxf endpoint configuration in java DSL

2015-09-23 Thread yogu13
Could you try defining it as below CxfComponent cxfComponent = new CxfComponent(getContext()); CxfEndpoint serviceEndpoint = new CxfEndpoint(SERVICE_ADDRESS, cxfComponent); Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/cxf-endpoint-configuration-in-java-D

Re: Timer,Quartz,Spring based scheduler question

2015-09-08 Thread yogu13
check Stateful Job if Quartz version < 2 if Quartz version is > 2 check the annotation "@DisallowConcurrentExecution" Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/Tim

Re: PEM File for Authentication in route

2015-09-07 Thread yogu13
Hello Anish, When you tried the SSLContextParameters tag outside the routes tag what was the error ? Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/PEM-File-for-Authentication-in-route-tp5771084p5771322.html Sent from the Camel - Users mailing list archive

Re: Camel Servlet REST and OSGi Blueprint example

2015-07-05 Thread yogu13
you can also check if the bundles are installed properly by using the command "bundle:list" Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Servlet-REST-and-OSGi-Blueprint-example-tp5768857p5768893.html Sent from the Camel - Users mailing list archive

Re: Camel Servlet REST and OSGi Blueprint example

2015-07-05 Thread yogu13
Hi, I hope to run the project you have installed following dependencies as stated.. Assuming you are installing on karaf.. features:chooseurl camel ${project.version} features:install camel and then the other components of camel which are needed for REST support features:install camel-servlet

Re: Howto set up an NT FTP Client in Spring

2015-06-24 Thread yogu13
Hello, Camel complains because you are trying to set org.apache.commons.net.ftp.FTPFileEntryParser to a method accepting org.apache.commons.net.ftp.parser.FTPFileEntryParserFactory. Otherways you can set your ftpclient to recognize NT FTP entries is by setting a system property "org.apache.common

Re: camel - exception handling

2015-06-24 Thread yogu13
Hello Jack, if handled is set to "false" then the exception is not handled, so it will be stored as an exception on the exchange and break out from the route. Continued should be available for use, Not sure why isnt it working in your case.. can you upgrade to latest and check if you still get th

Re: Getting a javax.jms.JMSException: java.io.InterruptedIOException

2015-06-22 Thread yogu13
Not sure what version you are using... try upgrading activemq and see Cheers! -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/Getting-a-javax-jms-JMSException-java-io-InterruptedIOException-tp5764382p5768482.html Sent from the Camel - Users mailing list archive at N

Re: using TransactionErrorHandler with Camel and Karaf

2015-06-15 Thread yogu13
Thanks Claus! Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/using-TransactionErrorHandler-with-Camel-and-Karaf-tp5768124p5768267.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Using cxfrs producer with a dynamic endpoint from a metadata file

2015-06-15 Thread yogu13
Hello Praneeth, Yes certainly, Groovy or Beanshell could be of helpful. Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/Using-cxfrs-producer-with-a-dynamic-endpoint-from-a-metadata-file-tp5768224p5768253.html Sent from the Camel - Users mailing list archive

Re: Using cxfrs producer with a dynamic endpoint from a metadata file

2015-06-14 Thread yogu13
Glad things worked for you ... The other way you could try is by using Dynamic recipient list [1] for your cxfs endpoint instead of doing it via a processor. This way you could reduce on the boilerplate code and stick to camel's dsl Disclaimer: I haven't tried this with cxfrs :) [1] http://came

Re: Using cxfrs producer with a dynamic endpoint from a metadata file

2015-06-14 Thread yogu13
Hello, Did you try using getOut().getBody() instead of getIn().getBody() for the cxf response? Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/Using-cxfrs-producer-with-a-dynamic-endpoint-from-a-metadata-file-tp5768224p5768225.html Sent from the Camel - Use

Re: using TransactionErrorHandler with Camel and Karaf

2015-06-14 Thread yogu13
onException and handled = false, then the TX will still > rollback but you can do certain tasks when the exception happens. > > Its the spring tx manager that is used, so you can use that with osgi. > > On Fri, Jun 12, 2015 at 7:07 AM, yogu13 <[hidden email] > <http:///user/S

Re: ClassCastException in blueprint Route

2015-06-14 Thread yogu13
Hello John, The configuration seems to be good... Does your LocalConfigurationService has a getCurrentConfiguration method ? if yes then i hope its returning an instance which is of type com.example.services.configuration.ConfigurationService Regards, -Yogesh -- View this message in context:

Re: using TransactionErrorHandler with Camel and Karaf

2015-06-14 Thread yogu13
anyone ? -- View this message in context: http://camel.465427.n5.nabble.com/using-TransactionErrorHandler-with-Camel-and-Karaf-tp5768124p5768182.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: ClassCastException in blueprint Route

2015-06-12 Thread yogu13
Hello John, What i am saying is that the problem seems to be with the object returned by the getCurrentConfiguration method of your LocalConfigurationService. based on the trace Caused by: java.lang.ClassCastException: com.example.services.configuration.local.LocalConfigurationService cannot

Re: Transactional Client in Camel

2015-06-11 Thread yogu13
Thank you David, One last question on this regard..since transactional client signifies start of the transaction, does that mean configuration properties like transact=true and transactionManager on the jms endpoint wouldn't kick start a transaction as soon as a message arrives and instead it is o

Re: ClassCastException in blueprint Route

2015-06-11 Thread yogu13
Hi, Looking at the stacktrace... the problem seems to be with the object returned by the getCurrentConfiguration method of your LocalConfigurationService. Looking at the trace it looks like blueprint did resolved the reference to your implementation and returned a proxy for it. would suggest to

  1   2   3   >