Mule consuming JMS topic message -


my flow is:

 <flow name="activemqflow3" doc:name="activemqflow3">         <http:inbound-endpoint exchange-pattern="request-response" host="${hostname}" port="${port}" path="producetopic"  doc:name="http"/>         <set-payload value="===topic===" doc:name="set payload"/>         <jms:outbound-endpoint topic="sfdc" connector-ref="active_mq" doc:name="jms"  />     </flow>     <flow name="activemqflow4" doc:name="activemqflow4">         <jms:inbound-endpoint doc:name="jms" connector-ref="active_mq" topic="sfdc"/>         <logger message="===#[message.payload]" level="info" doc:name="logger"/>     </flow> 

acitvemq console shows 1 consumer under topic section, dont receive immediate response in anypoint studio console once hit http://localhost:9001/producetopic url. when go acitvemq console http://localhost:8161/admin/topics.jsp , selecting sfdc topic, send button response in anypoint studio console. why immediate response/subscribe not displaying when publish topic?

edit

global element:

<jms:activemq-connector name="active_mq" brokerurl="tcp://localhost:61616" validateconnections="true" doc:name="active mq"/> 

console:

info  2015-05-15 07:56:21,820 [main] org.mule.module.launcher.deploymentdirectorywatcher:  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + mule , kicking (every 5000ms)                    + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ info  2015-05-15 07:56:29,081 [[sfdc].activemqflow4.stage1.02] org.mule.api.processor.loggermessageprocessor: ======topic=== 

it mistake, server displaying data in console. understand better have modified subscriber logger differentiate data publisher.

<logger message="==subscriber=#[message.payload]====" level="info" doc:name="logger"/> 

now console displays:

 ==subscriber====topic======= 

Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -