camel.component.activemq.broker-url doesnt seem to work with camel-activemq-starter:3.11.1

2021-08-24 Thread Ranabroto Ghosh
*#build.gradle* dependencies { implementation 'org.springframework.boot:spring-boot-starter-web' implementation 'org.apache.camel.springboot:camel-activemq-starter:3.11.1' implementation 'org.apache.camel.springboot:camel-spring-boot-starter:3.11.1' implementation 'org.apache.camel:ca

Camel sftp starter 3.8.0 move on completion not working

2021-02-19 Thread Ranabroto Ghosh
http://camel.apache.org/schema/spring";> ${body} its print all the logs with name and address but after printing all Its throwing below exception org.apache.camel.component.file.GenericFileOperationFailedException: Cannot rename file from: test.txt to: home/gcfon

Re: Camel 3.0.0 Failed to start route route because of Multiple consumers for the same endpoint is not allowed

2020-03-24 Thread Ranabroto Ghosh
his exact behavior on Camel 3.1.0. > > @Ranabroto Ghosh: Did moving to 3.1.0 fix this issue for you? > > Cheers > Aymen > > Am Do., 12. März 2020 um 14:52 Uhr schrieb Claus Ibsen < > claus.ib...@gmail.com>: > >> Try with Camel 3.1.0 >> >> On Thu, Mar 1

Camel 3.0.0 Failed to start route route because of Multiple consumers for the same endpoint is not allowed

2020-03-12 Thread Ranabroto Ghosh
Hi I am having this clueless problem *pom.xml: * org.springframework.boot spring-boot-starter-web org.apache.camel.springboot camel-spring-boot-starter 3.0.0 org.apache.camel camel-jetty 3.0.0 *REST XML : * http://camel.apache.org/schema/spring";> *CAMEL ROUTE:*

serviceCall EIP not working with consul

2019-05-24 Thread Ranabroto Ghosh
I am using below in applicaiton.yml camel: cloud: consul: service-discovery: url: http://localhost:8500 then call another service which is registered in consul service discovery like below but always receiving this error : java.util.concurrent.RejectedExecutionEx

configure serviceCall eip with consul

2019-05-23 Thread Ranabroto Ghosh
I am using below in applicaiton.yml camel: cloud: consul: service-discovery: url: http://localhost:8500 then call another service which is registered in consul service discovery like below but always receiving this error java.util.concurrent.RejectedExecutionExcep

camel consul; java.util.concurrent.RejectedExecutionException: No active services with name

2019-04-03 Thread Ranabroto Ghosh
Hi I am having a weird problem, please read below I have two simple came-spring-boot application exposing couple of REST endpoints. I have a consul server running and I am using that as a service discovery engine. *Application 1: * *bootstrap.yml* spring: cloud: consul: host:

Re: can Eureka be used as service registry/discovery tool with Apache camel?

2018-08-20 Thread Ranabroto Ghosh
> > On Fri, Aug 17, 2018 at 3:19 PM Ranabroto Ghosh > <[hidden email] <http:///user/SendEmail.jtp?type=node&node=5822314&i=0>> > wrote: > > > > > I wanted something like below, > > > > > > > > > > Can camel not us

Re: can Eureka be used as service registry/discovery tool with Apache camel?

2018-08-17 Thread Ranabroto Ghosh
I wanted something like below, Can camel not use some component to discover the service URL from eureka for this service? On 17 August 2018 at 13:41, Ranabroto Ghosh < ranabroto.gh...@globalcharge.com> wrote: > I want two simple camel micro-service application and they communicatin

can Eureka be used as service registry/discovery tool with Apache camel?

2018-08-17 Thread Ranabroto Ghosh
I want two simple camel micro-service application and they communicating using Eureka service discovery, is this possible? I found couple of examples camel using Consul but nowhere with Eureka. I would very thankful if anybody can help with a sample code example. -- Kind Regards Rana

Problem writing camel logs with log4j in a spring-boot application

2018-08-06 Thread Ranabroto Ghosh
Hi I have a Spring-boot application with Apache Camel. All I am trying to achieve here writing all logs(java log and also camel route level logs using camel 'log' EIP) in a log file using log4j. *My POM: * org.springframework.boot spring-boot-starter-web

Re: can not locate rest api

2018-05-28 Thread Ranabroto Ghosh
My rest route if requires http://camel.apache.org/schema/spring";> On 28 May 2018 at 12:43, Ranabroto Ghosh wrote: > Hi I am using springboot with Camel, my routes are getting started > correctly but ca not trigger rest apis as i ca not locate them. > >

can not locate rest api

2018-05-28 Thread Ranabroto Ghosh
Hi I am using springboot with Camel, my routes are getting started correctly but ca not trigger rest apis as i ca not locate them. *pom.xml * http://maven.apache.org/POM/4.0.0"; xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://ma

Re: Having problem with creating producer from camel route for Kafka

2018-03-07 Thread Ranabroto Ghosh
I am sorry, yes i created another post and got solution already. Many thanks. On 7 March 2018 at 15:11, Ranabroto Ghosh wrote: > I am sorry, yes i created another post and got solution already. Many > thanks. > > On 7 March 2018 at 15:08, Claus Ibsen-2 [via Camel] < > ml+s46

Re: Having problem while creating producer from camel route for Kafka

2018-03-07 Thread Ranabroto Ghosh
Many thanks, it worked. On 7 March 2018 at 14:52, Ranabroto Ghosh wrote: > Many thanks, it worked. > > On 7 March 2018 at 14:35, Andrea Cosentino-2 [via Camel] < > ml+s465427n581824...@n5.nabble.com> wrote: > >> The options you're trying to use

Having problem while creating producer from camel route for Kafka

2018-03-07 Thread Ranabroto Ghosh
Hello I have simple route triggered by REST api and want to put a message to kafka *pom.xml* org.apache.camel camel-kafka 2.20.0 org.apache.kafka kafka-clients org.apache.kafka kafka-clients 1.0.1 Camle Route: ${header.id}

Having problem with creating producer from camel route for Kafka

2018-03-07 Thread Ranabroto Ghosh
Hi I have simple route triggered by REST api and want to put a message to kafka pom.xml: using camel 2.20.0 Camel route: Error I get I have tried removing all unknown parameters, and tried simple Then i get below erro I can confirm my kafka server is working fine, as i can put message

Re: Insert reference ID of another table

2017-07-24 Thread Ranabroto
I do not think it has got anything to do with camle, depends on what framework you are using to persist data, for example if you are using hibernate(with orm mapping) component of camel, may be you can do something like below.

Re: Camel carry the POJO to each request

2017-07-20 Thread Ranabroto
Can you not keet that parts in some property and get it back later when you need it like below? ${body} ${headers.OPERATION} == 'C' -- View this message in context: http://camel.465427.n5.nabble.com/Camel-carry-the-POJO-to-each-request-tp5807481p5807514.h

Re: ${header.CamelHttpResponseCode} getting lost?

2017-07-13 Thread Ranabroto
Spot on, many thanks, silly me skipped that part. -- View this message in context: http://camel.465427.n5.nabble.com/header-CamelHttpResponseCode-getting-lost-tp5806828p5806877.html Sent from the Camel - Users mailing list archive at Nabble.com.

${header.CamelHttpResponseCode} getting lost?

2017-07-12 Thread Ranabroto
Hello I have below route org.apache.camel.http.common.HttpOperationFailedException true ${header.CamelH

Re: Camel xmlJson not working properly?

2017-03-10 Thread Ranabroto
Did you not miss the InstallKey element name ? Should it not be like below { "Version": "2.0", "ErrorCode": "0", "ErrorMsg": "OK", "Value": {"InstallKey": [{ "CustomerProductId": "5957152", "KeyPoolName": "Standard_EMEA",

Camel xmlJson not working properly?

2017-03-09 Thread Ranabroto
Hello All, I am using 'xmljson' to convert a simple XMl to JSON, but looks like its not working properly, Below what I am doing Xml Input: 2.0 0 OK 5957152

Re: Pattern 'InOnly' should create a new exchange/ thread ?

2017-03-02 Thread Ranabroto
Thanks it does work with wireTap, but why not with . whats the use of 'pattern' in 'to' then? -- View this message in context: http://camel.465427.n5.nabble.com/Pattern-InOnly-should-create-a-new-exchange-thread-tp5794699p5794702.html Sent from the Camel - Users mailing list archive at Nabble.c

Pattern 'InOnly' should create a new exchange/ thread ?

2017-03-02 Thread Ranabroto
Hello All, I have simple route which calls another route with pattern InOnly, my understanding was InOnly fires and forgets and executes the next line in a route but thats not happening. using camel 2.17.0 1 In my understanding out

Re: Retrieve Caller Ip Address

2014-02-16 Thread Ranabroto
Hi Thank you so much :) it worked perfectly -- View this message in context: http://camel.465427.n5.nabble.com/Retrieve-Caller-Ip-Address-Camel-Reslet-tp5747272p5747367.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Retrieve Caller Ip Address

2014-02-14 Thread Ranabroto
Hello Claus Ibsen Thank you so much for your reply sir :) I have looked into reslet documentation and I found out they have the client info, They have 'Request' class which got a method getClientInfo() returns an object of type 'ClientInfo' and 'ClientInfo' class has got a method 'getAddress()' w

Retrieve Caller Ip Address

2014-02-13 Thread Ranabroto
HI all I am new in Camel I have a reslet api like below How can i get the caller ip address..? I have checked message header and body, but didnt find the client ip address Please help me -- View this message in context: http://camel.465427.n5.nabble.com/Retrieve-Caller-Ip-Address-tp5747272