Re: getting exception for appending option providers=#cors-filter in camel cxfrs

2015-08-27 Thread chaituu
registered cors-filter bean id like this. bean id=cors-filter class=org.apache.cxf.rs.security.cors.CrossOriginResourceSharingFilter/ cxf:rsServer id=dsServer address=http://0.0.0.0:10089/test; serviceClass=com.xxx.xxx.xx.testservice

Re: getting exception for appending option providers=#cors-filter in camel cxfrs

2015-08-27 Thread chaituu
defined like above in the config like but getting the error.do i need change anything?its working in camel 2.9 version but not working in 2.15 version cxf version is 3.0.4. -- View this message in context:

Re: getting exception for appending option providers=#cors-filter in camel cxfrs

2015-08-27 Thread chaituu
even if i remove it from the route URI also its not working.can you check from your side once.as per doc http://camel.apache.org/cxfrs.html providers Since Camel 2.12.2 set custom JAX-RS providers list to the CxfRs endpoint. providers=#MyProviders initially i didn't checked the logs properly so

getting exception for appending option providers=#cors-filter in camel cxfrs

2015-08-27 Thread chaituu
getting below error when i used camel 2.15.2 version .Is it required to append cors-filter in the from endpoint from uri=cxfrs://bean://dsServer?providers=#cors-filter/ as I have already referenced cors-filter in cxf:providers tag in the CxfRs endpoint. when i removed providers=#cors-filter

Re: spring osgix:cm-properties not reloading the properties

2015-08-19 Thread chaituu
reloading properties at runtime working for Spring DM as well. -- View this message in context: http://camel.465427.n5.nabble.com/spring-osgix-cm-properties-not-reloading-the-properties-tp5770739p5770827.html Sent from the Camel - Users mailing list archive at Nabble.com.

spring osgix:cm-properties not reloading the properties

2015-08-15 Thread chaituu
properties are getting not reloaded in case of spring dm.it works fine in case of blue print xml and properties are reloaded when changes happen and deploy the profile in jboss fuse. in blueprint cm:property-placeholder is having update-strategy attribute which does the properties reloaded where

Re: spring osgix:cm-properties not reloading the properties

2015-08-15 Thread chaituu
Thanks for the reply.actually i saw this page but quite didn't understood it.Do i need to create ContainerManagedBean class to make use of properties getting reloaded.but in case of blueprint we have not created any sort of this class right. bean id=containerManaged class=ContainerManagedBean

unable to load properties file in jboss fuse 6.2

2015-08-10 Thread chaituu
not able to find below properties file(FilenotFound Exception) when i create the profile using fabric8:deploy plugin and then assign to the new container in JBoss fuse-6.2. normally where to place common properties in camel applications when we create fuse fabric profiles. below properties file

Re: load balancing in jboss fuse 6.2

2015-07-15 Thread chaituu
thanks. -- View this message in context: http://camel.465427.n5.nabble.com/load-balancing-in-jboss-fuse-6-2-tp5769353p5769356.html Sent from the Camel - Users mailing list archive at Nabble.com.

load balancing in jboss fuse 6.2

2015-07-15 Thread chaituu
I have installed Jboss fuse 6.2 in 2 unix boxes and deployed camel-cxf-proxy application bundle in both the servers. first server is master box and second one is slave box.how do you configure this set up?if master node is down then requests should automatically should forward to slave box.how do

how to send the SOAP proxy request deployed in local fuse jetty

2015-07-10 Thread chaituu
I want to test SOAP proxy service before calling real webservice written using Jetty component that is deployed on latest Jboss Fuse-6.2. 1)employeeRouterEndpoint is Soap PROXY service which is mentioned as[http://0.0.0.0:9199/OrderEndpoint] what is difference between jetty:http and only

missing requirement org.apache.cxf.bundle

2015-07-09 Thread chaituu
we are migrating to latest jboss fuse .when i try to deploy existing service to latest jboss fuse then getting below exception,.what is the bundle i need to install? Error executing command: Error installing bundles: Unresolved constraint in bundle idemployeeService [323]: Unable to

Re: Is there way to parse in camel cxf endpoint for empty tag's as name/name

2015-05-20 Thread chaituu
can you add xml element tags in the pojo response? -- View this message in context: http://camel.465427.n5.nabble.com/Is-there-way-to-parse-in-camel-cxf-endpoint-for-empty-tag-s-as-name-name-tp5767301p5767306.html Sent from the Camel - Users mailing list archive at Nabble.com.

how to mention tomcat web-classes class path in file consumer route

2015-05-11 Thread chaituu
I have deployed the war file in the tomcat . camel-config.xml file is deployed in the WEB-INF/classes folder i.e class path and test.xml also in the class path. how to mention class path in file consumer route without mentioning absolute path. route id=1 from

Re: how to mention tomcat web-classes class path in file consumer route

2015-05-11 Thread chaituu
to overcome this,i have done like this.. route id=1 from uri=timer://myTimer?repeatCount=1/ to uri=language:constant:resource:classpath:HotFolderConf.xml/ unmarshal ref=myJaxb/ process ref=xmlprocess/ /route -- View this message in context:

Re: print the list of map objects in Spring DSL log

2015-04-11 Thread chaituu
thanks claus. its working.. -- View this message in context: http://camel.465427.n5.nabble.com/print-the-list-of-map-objects-in-Spring-DSL-log-tp5765615p5765633.html Sent from the Camel - Users mailing list archive at Nabble.com.

print the list of map objects in Spring DSL log

2015-04-10 Thread chaituu
how to print the list of map objects in Spring DSL log. in java i am able to print the value . LOGGER.info(Employee:+((Employee)csvList.get(0).get(Employee.class.getName())).getEmployeeId());// in Java the value is coming. log

Re: file:absolute.path is not printing value

2015-04-08 Thread chaituu
thanks claus.it should be after to uri...${header.CamelFileNameProduced} -- View this message in context: http://camel.465427.n5.nabble.com/file-absolute-path-is-not-printing-value-tp5765449p5765491.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: dynamic file route creation in spring dsl

2015-04-07 Thread chaituu
thanks yogesh.I am also thinking in those lines. -- View this message in context: http://camel.465427.n5.nabble.com/dynamic-file-route-creation-in-spring-dsl-tp5765331p5765451.html Sent from the Camel - Users mailing list archive at Nabble.com.

file:absolute.path is not printing value

2015-04-07 Thread chaituu
from uri=direct:start/ to uri=file:D://Test/?fileName=1.csv/ log message=header.Filepath:${file:absolute.path}/ to uri=velocity:Response.vm/ why logger is not printing file:absolute.path?I want to print file:absolute.path in the velocity template. -- View this message in context:

Re: Marshal with quote in CSV

2015-04-07 Thread chaituu
thanks.its working now. -- View this message in context: http://camel.465427.n5.nabble.com/Marshal-with-quote-in-CSV-tp5765160p5765450.html Sent from the Camel - Users mailing list archive at Nabble.com.

how to get the value from cxf request payload

2015-04-07 Thread chaituu
from uri=cxf:bean:OrderEndPoint?loggingFeatureEnabled=trueamp;dataFormat=MESSAGE / to uri=bean:enrichBean/ I am hitting below SOAP request in SOAP UI and in the enrich bean I need to get the orderId value?If I do doc.getElementsByTagName(v1:orderId) then the value

dynamic file route creation in spring dsl

2015-04-04 Thread chaituu
I have quite interesting use case.we are using 2.12 camel version. user will drop a below xml file where we need to read the xml file and should poll the folder paths mentioned in the xml. user will place image files in these folders.I can read the xml and all stuff my question is how to

Re: Marshal with quote in CSV

2015-04-02 Thread chaituu
Yogesh, when i open thru notepad or excel its showing without quotes.. -- View this message in context: http://camel.465427.n5.nabble.com/Marshal-with-quote-in-CSV-tp5765160p5765252.html Sent from the Camel - Users mailing list archive at Nabble.com.

Marshal with quote in CSV

2015-04-01 Thread chaituu
I'm creating csv file using Camel Bindy. using 2.12 version. In bindy model I have used @CsvRecord(separator = , , quote = \ ) when i open csv file values are coming without quotes but I need all the values with double quotes. ABC,TEST,CG,QEQE -- View this message in context:

prevent header duplication for csv file

2015-03-18 Thread chaituu
headers are getting duplicated for every request.I needed to append values to the existing file with header should display once at the top. used @CsvRecord(separator = ,, crlf = UNIX,generateHeaderColumns=true) for csv component. camelContext xmlns=http://camel.apache.org/schema/spring;

RE: how to send response to the webservice

2015-03-16 Thread chaituu
thanks for all replies. as all you said we can resolve this issue by using any of one of these following patterns. 1)wireTap uri=seda:generateCSV/ 2)inOnly uri=seda:generateCSV/ 3)to uri=seda:generateCSV pattern=inOnly/ -- View this message in context:

RE: how to send response to the webservice

2015-03-13 Thread chaituu
Prajod, I need OrderReponse should be sent to webservice not the file output. -- View this message in context: http://camel.465427.n5.nabble.com/how-to-send-response-to-the-webservice-after-generated-the-csv-route-tp5764065p5764079.html Sent from the Camel - Users mailing list archive at

how to send response to the webservice

2015-03-12 Thread chaituu
route from uri=cxf:bean:orderEndpoint / // generate the OrderResponse reply for the webservice which is still waiting for a reply bean ref=processor method=processOrderWebservice/ // Passing OrderResponse to generateCSV and this route is

how to send response to the webservice

2015-03-12 Thread chaituu
route from uri=cxf:bean:orderEndpoint / bean ref=processor method=processOrderWebservice/ to uri=seda:generateCSV/ /route route from uri=seda:generateCSV/ bean ref=processor

Re: can i get discount for camel in action book

2015-03-05 Thread chaituu
camel40 code is working.which option do i need to use if i need physical book.howlong will it take to get the shipment to india? $49.99 pBook + eBook (includes PDF, ePub, and Kindle) $39.99 eBook only (includes PDF, ePub, and Kindle) Thanks chaitanya -- View this message

can i get discount for camel in action book

2015-03-04 Thread chaituu
hi, I reside in india.but camel in action not published in india so it comes with huge price.can i get some discount on this book?if yes where can i get it? -- View this message in context: http://camel.465427.n5.nabble.com/can-i-get-discount-for-camel-in-action-book-tp5763608.html Sent from

Re: how to execte jdbc IN clause statement

2014-11-23 Thread chaituu
i have written custom prepared strategy,how to set parameter for ids' in update query public class CustomPrepareStatementStrategy extends org.apache.camel.component.jdbc.DefaultJdbcPrepareStatementStrategy { private static final transient Logger LOG =

how to execte jdbc IN clause statement

2014-11-22 Thread chaituu
22 04:02:32,011 #0 - timer://timer1 TimerConsumer WARN warnMarkerIgnoringBase.java :136Error processing exchange. Exchange[Message: UPDATE TEST SET FLAG='Y' WHERE ID IN(:?ids)]. Caused by: [java.sql.SQLSyntaxErrorException -

java.lang.IllegalArgumentException: URI is not absolute

2014-11-16 Thread chaituu
?xml version=1.0 encoding=UTF-8? beans xmlns=http://www.springframework.org/schema/beans; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:cxf=http://camel.apache.org/schema/cxf; xmlns:jaxws=http://cxf.apache.org/jaxws;

Re: route information is not coming with camelContext.getRoute(route1)

2014-11-04 Thread chaituu
How do i get application context to do ac.getBean(camel); -- View this message in context: http://camel.465427.n5.nabble.com/route-information-is-not-coming-with-camelContext-getRoute-route1-tp5758371p5758502.html Sent from the Camel - Users mailing list archive at Nabble.com.

route information is not coming with camelContext.getRoute(route1)

2014-10-31 Thread chaituu
bean id=camelRouteManager class=com.multiplecamel.CamelRouteManager property name=camelContext ref=camelContext-local/property /bean camelContext id=camelContext-local xmlns=http://camel.apache.org/schema/spring;