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
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
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.
Hello I have below route
org.apache.camel.http.common.HttpOperationFailedException
true
${header.CamelH
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.
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
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.
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
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
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
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",
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
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}
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
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
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
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.
>
>
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
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
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
>
> 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
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:
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
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
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:*
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
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
*#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
28 matches
Mail list logo