prabath ariyarathna created SYNAPSE-1042: --------------------------------------------
Summary: MessageID returned as Null when a proxy is invoked via a scheduled task Key: SYNAPSE-1042 URL: https://issues.apache.org/jira/browse/SYNAPSE-1042 Project: Synapse Issue Type: Bug Reporter: prabath ariyarathna Assignee: Hiranya Jayathilaka When a proxy is invoked by a scheduled task the message ID is returned as empty in the insequence. <log level="custom"> <property name="================================ MESSAGE_ID" expression="get-property('MessageID')"/> </log> INFO LogMediator ================================ MESSAGE_ID = *Proxy* ------------ {code} <proxy name="test_scheduled" transports="https http" startOnLoad="true" trace="disable"> <description/> <target> <inSequence> <log level="custom"> <property name="================================ MESSAGE_ID" expression="get-property('MessageID')"/> </log> <send/> </inSequence> <outSequence> <log level="custom"> <property name="////////////////////////////////////MESSAGE_ID" expression="get-property('MessageID')"/> </log> <drop/> </outSequence> </target> </proxy> {code} *Task* -------- {code} <task name="test2" class="org.apache.synapse.startup.tasks.MessageInjector"> <trigger count="2" interval="5"/> <property name="proxyName" value="test_scheduled"/> <property name="to" value="http://localhost:9000/services/SimpleStockQuoteService"/> <property name="injectTo" value="proxy"/> <property name="soapAction" value="urn:getQuote"/> <property xmlns:task="http://www.wso2.org/products/wso2commons/tasks" name="message"> <m0:getQuote xmlns:m0="http://services.samples"> <m0:request> <m0:symbol>IBM</m0:symbol> </m0:request> </m0:getQuote> </property> </task> {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@synapse.apache.org For additional commands, e-mail: dev-h...@synapse.apache.org