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

olingo2 - How to resolve No enum constant found

2019-05-04 Thread Sandeep Ghosh
Hi, I am using camel-olingo2 to read row count of my resource. My route is simple .to("olingo2://read/questionAnswers/$count")It is failing with the exception.  Caused by: java.lang.IllegalArgumentException: No enum constant org.apache.olingo.odata2.api.edm.EdmSimpleTypeKind.AllocationOrderSess

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

Interceptor in onexception route

2011-04-26 Thread ghosh
to get the current endpoint uri ? Regards, Ghosh -- View this message in context: http://camel.465427.n5.nabble.com/Interceptor-in-onexception-route-tp4340475p4340475.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel custom component

2011-02-24 Thread ghosh
Thanks Claus for your precise but meaningful reply... but my question is .. am I trying to do something which is against the camel philosophy or that is quite normal in such kind of scenario ? -- View this message in context: http://camel.465427.n5.nabble.com/Camel-custom-component-tp3398359p

Camel custom component

2011-02-24 Thread ghosh
r be invoked if it is used in a "to" endpoint, I am thinking of changing my custom component such a way that the producer would handle both persisting and retrieval (will pass action=persist/retrieve in uri) or go for two different compnent. I am not sure how do we deal with such situat

Re: Cxf-rs endpoint implementation

2011-01-28 Thread ghosh
one more way to implement this using cxf:cxfEndpoint. what is the diff between this two approaches? I tried to find the latest updated docs but no luck Ghosh -- View this message in context: http://camel.465427.n5.nabble.com/Cxf-rs-endpoint-implementation-tp3359882p3361293.html Sent from the

Re: Cxf-rs endpoint implementation

2011-01-28 Thread ghosh
ill not able grasp the right picture here... meanwhile I tried to get below route True Idea was to use a rest service in my processing route invoking it from requestTask and getting the response in response task. Ghosh -- View this message in context: http

Re: Cxf-rs endpoint implementation

2011-01-27 Thread ghosh
.java:1010) at MyMain.main(MyMain.java:43) Ghosh -- View this message in context: http://camel.465427.n5.nabble.com/Cxf-rs-endpoint-implementation-tp3359882p3360965.html Sent from the Camel - Users mailing list archive at Nabble.com.

Cxf-rs endpoint implementation

2011-01-27 Thread ghosh
rg.apache.camel.spring.Main main = new org.apache.camel.spring.Main(); main.setApplicationContextUri("META-INF/spring/camel-context.xml"); main.start(); URL url = new URL("http://localhost:9002/rest/bookstore/123";); InputStream i