Camel Rest DSL is not recognizing JsonProperty access

2017-02-10 Thread qwertywx
I am using Camel Rest DSL to build my rest service but it seems that , it does not recognize JsonProperty annotation. I have a propery like: class Test { private int id; @JsonProperty(access = Access.READ_ONLY) private String text; } and the rest definition is: http://camel

Re: Camel Bindy - Mixed fixed and variable length processing?

2017-02-10 Thread ruili1
I have a similar question but simpler. My application is consuming a fixed length format file today. But for some new feature the producer will introduce new fields at the end of the record therefore increase the length. So I need my application to be able to handle both lengths as it comes so that

process on file presence on FTP

2017-02-10 Thread nadersgh
Hello everybody,I have a use case that I can't find a way to implement it, here it is:with an FTP connexion, I need to get only files named with specific prefix from a list.(example of file names format FileA_20170210073006539.csv, FileB__20170210073006475.csv, FileC_20170210073006485.csv).I can on

Need an Example to pass XMLTYPE output to Oracle stored procedure. facing issue with my code

2017-02-10 Thread kumarburla
Hi Team, I am using sql-stored component and to execute stored procedure in Oracle DB. One of my OUT parameters in SQLXML. When i am getting output in body, i am getting type as oracle.xdb.XMLType. I am passing this output to another procedure but i am getting error while doing so. Below is my c

RE: Not seeing query params on REST DSL

2017-02-10 Thread Steve Huston
I apologize for the delay responding to this. I was able to get this working but parsing out the URI info separately, like the below. It's from a test program so it has some assumptions about what it should be getting. -Steve --- String httpRequest = resultEnd

Re: Unable to set JMS_IBM_MQMD_ApplIdentityData using camel

2017-02-10 Thread santhoshks
Thank you Zoran... This is only the sample code which tries to publish message to IBM MQ and sets the header. Actual application has much more in it. As per IBM specification, we need to do following but I am not sure how to set MQMD properties in Camel. // Enable MQMD write dest.setBooleanPro

Re: Unable to set JMS_IBM_MQMD_ApplIdentityData using camel

2017-02-10 Thread Zoran Regvart
Hi Santhosh, in your Processor set the header on the In message, but also, if you're not doing anything else in the Processor but setting the header value to a constant value, you can use the setHeader method of the Java DSL. >From the IBMMQ side, make sure that you've understand the prerequisites

Unable to set JMS_IBM_MQMD_ApplIdentityData using camel

2017-02-10 Thread santhoshks
We are trying to read the JMS_IBM_MQMD_ApplIdentityData message property and set it on the response message. We are using IBM MQ. The code I have implemented is not reading or writing this property on IBM MQ. Application runs on tomcat. Our MQ connection information is in the context.xml. Here is t

Unable to set JMS_IBM_MQMD_ApplIdentityData using camel

2017-02-10 Thread santhoshks
We are trying to read the JMS_IBM_MQMD_ApplIdentityData message property and set it on the response message. We are using IBM MQ. The code I have implemented is not reading or writing this property on IBM MQ. Application runs on tomcat. Our MQ connection information is in the context.xml. Here is t

Re: CamelConfiguration wires all routes by default

2017-02-10 Thread Mark Nuttall
Maybe a code example of what you are trying? I am using spring, well spring boot , and Camel to dynamically create routes on demand. On Feb 10, 2017 1:31 PM, "Luciano Nunes" wrote: Nobody? -- View this message in context: http://camel.465427.n5.nabble. com/CamelConfiguration-wires-all-route

Re: CamelConfiguration wires all routes by default

2017-02-10 Thread Luciano Nunes
Nobody? -- View this message in context: http://camel.465427.n5.nabble.com/CamelConfiguration-wires-all-routes-by-default-tp5793727p5793772.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel XML DSL for File transfer to endpoint on Condition

2017-02-10 Thread j_pramanik_ind
I have done this by using filter. Filter returns the boolean and on that basis Camel moves the file. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-XML-DSL-for-File-transfer-to-endpoint-on-Condition-tp5793651p5793759.html Sent from the Camel - Users mailing list archiv

Re: BridgePropertyPlaceholderConfigurer - Load propertyfile from database

2017-02-10 Thread Pontus Ullgren
As Clause say this is more a Spring question. And Spring does support this by adding a custom placeholder configurer. Here[1] is an example of a placeholder configurer that reads the properties from a database using JDBC API. [1]: https://github.com/Redpill-Linpro/spring-config-jdbc Best regards

Re: BridgePropertyPlaceholderConfigurer - Load propertyfile from database

2017-02-10 Thread Claus Ibsen
Hi The bridge is only to integrate with Spring. So if you want to load properties from databases you would need to find a way for spring to do that / support that. I am actually not sure if spring has support for loading properties from databases. On Fri, Feb 10, 2017 at 2:49 AM, Naveen wrote

Re: Camel and Kafka Example

2017-02-10 Thread Claus Ibsen
Hi Yeah that would be really great to have a Kafka example. You are very much welcome to contribute this to Apache Camel. A github PR is preferred but a .patch file is okay as well. http://camel.apache.org/contributing It would be good to log a JIRA ticket as well and refer to the JIRA in the com

Re: RabbitMQ Strange Behaviour

2017-02-10 Thread ravindra
I am using RabbitMQ 3.6.6, Erlang R16B03. When I specify the URI as : rabbitmq://:5672/ravindra_test_exchange?autoDelete=false&routingKey=abc&queue=ravindra_test_queue_abc Then it sends only to the expected queue. But isn't it wrong, that I need to specify the exchange, routing key and the queue

RabbitMQ Strange Behaviour

2017-02-10 Thread ravindra
I am sending some messages from a Camel Route to RabbitMQ. The URI is as follows : to("rabbitmq://:5672/ravindra_test_exchange?autoDelete=false&routingKey=abc") I have the created an exchange ravindra_test_exchange and a queue ravindra_test_queue_abc. The exchange is bound to the queue with rout

BridgePropertyPlaceholderConfigurer - Load propertyfile from database

2017-02-10 Thread Naveen
Hi, I'm new to apache camel, sorry if my question is very basic. I'm using Apache camel with spring in my application. I'm using BridgePropertyPlaceholderConfigurer like below. Am accessing these properties using placeholders {{ }} in camel context and ${} in spring beans. I would like to add one

Re: RabbitMQ Strange Behaviour

2017-02-10 Thread souciance
Well I have not experienced it that way. Like I said, that temporary queue is for request-reply processing. If you want to fire and forget you need to specify that the exchange pattern is InOnly. On Fri, Feb 10, 2017 at 8:58 AM, ravindra [via Camel] < ml-node+s465427n5793745...@n5.nabble.com> wrot