camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tapdur <>
Subject kafka inout issue
Date Mon, 08 Dec 2014 11:46:21 GMT
Hi the community,

i have a route wich work well based on activeMQ from http .. to
direct:provider to activemq:consumer and a consumer wich is listen on from
activemq:consumer and reply a consumer msg.

i then migrate to Kafka. The consumer receive the topic message, tranform it
but the provider never receive the response and http response return with
the provider default response and not the consumer response.

here is the provider route wich never receive the consumer reponse : 

			<from uri="direct:bonjour" />
				<constant>Le Provider répond Hello les consumers</constant>
			<setHeader headerName="kafka.PARTITION_KEY">
			<log message="Provider Bonjour IN  Got ${body}"/>
    		<setExchangePattern pattern="InOut"/>


			<log message="Provider Bonjour OUT  Got ${body}"/>
and the consumer route

						<constant>${body} et le consumer dit aussi bonjour</constant>
					<log message="Bonjour OUT  Got ${body}"/>

is it a kafka component  issue ?

best regards

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message