Hi Vivek,

Could you please share your samples and synapse configurations?

Regards,
*Nirthika Rajendran*
*Associate Software Engineer*
WSO2 Inc : http://wso2.org
Mobile       : +94 77 719 8368
LinkedIn    : https://www.linkedin.com/in/nirthika/
Blog          :
*http://nirthika-tech-stuff.blogspot.com/
<http://nirthika-tech-stuff.blogspot.com/>*

On Fri, Mar 9, 2018 at 6:04 PM, Vivek Kumar <vivku...@salmon.com> wrote:

> Hi Dev Team,
>
> I want to pass some paramters into a sequence that is called by Task
> Schedular.
>
>
>
> I was trying put all parameters in message of task schedular but not able
> to get them in injected sequence.
>
>
>
> Like below is the message in the task schedular:
>
>      <task class="org.apache.synapse.startup.tasks.MessageInjector"
>
>           ====================
>
>           ====================
>
>           <property name="sequenceName" value="MoveFileSequence"
> xmlns:task="http://www.wso2.org/products/wso2commons/tasks"/>
>
>     <property name=*"message"* 
> xmlns:task=*"http://www.wso2.org/products/wso2commons/tasks
> <http://www.wso2.org/products/wso2commons/tasks>"*>
>
>         <locations>
>
>             <sourceLocation>someValidPath</sourceLocation>
>
>         </locations>
>
>     </property>
>
>    </task>
>
>
>
>
>
>   But I am not able to read string "someValidPath" in the sequence "
> MoveFileSequence" using Xpath.
>
>
>
> Could you help me how to  achieve this using task schedular and the
> sequence.
>
>
>
>
>
>
>
> *Vivek Kumar*
>
> *Associate System Analyst*
>
> *Office:      *+91-120-4737401 <+91%20120%20473%207401>
>
> *Mobile*:     +91 8588897434 <+91%2085888%2097434>
>
> *Email*:        vivku...@salmon.com <youraddr...@salmon.com>
>
>
>
>
>
> Information contained in this e-mail and any attachments is confidential
> and intended for the use of the addressee only. Dissemination,
> distribution, copying or use of this communication without prior permission
> of the addressee is strictly prohibited. If you have received this
> transmission in error, please advise the originator by reply e-mail and
> delete it. Thank you. Salmon India’s Registered Address is: B-13, Sector
> 57, Noida (U.P.) 201301. Registered in India U72200DL2003PTC120356.
>
>
>
>
> Information contained in this e-mail and any attachments is confidential
> and intended for the use of the addressee only. Dissemination,
> distribution, copying or use of this communication without prior permission
> of the addressee is strictly prohibited. If you have received this
> transmission in error, please advise the originator by reply e-mail and
> delete it. Thank you. Salmon India’s Registered Address is: B-13, Sector
> 57, Noida (U.P.) 201301. Registered in India U72200DL2003PTC120356.
>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to