Thanks for replying Gert,
My XSL code is as follows:
<xsl:template match="/">
<jbi:invoke service="rdf:arubaSimplifier" endpoint="aruba.simplifier">
<jbi:copyProperties/>
<jbi:setOutProperty name="timeTable"
select="//*[contains(name(),'ToolTable')]" />
</xsl:call-template>
</jbi:invoke>
</xsl:template>
My impression was that if I use setOutProperty a new property 'timeTable' is
set on the message and I can access it using inOnly.getProperty("timeTable")
in my other component, arubaSimplifier. However, it seems to be false. How
do I solve the problem here?
Gert Vanthienen wrote:
>
> Joe,
>
> I haven't used the XPath/XSLT router myself, but if you can provide me
> with the servicemix.xml that is causing the problems, I'm quite willing
> to learn and help you look for a solution to your problem in the
> process...
>
> Gert
>
> Joe Smith wrote:
>> How do I set message property in XSL router?
>>
>> Joe Smith wrote:
>>
>>> Hi all,
>>>
>>> I am trying to use jbi:setOutProperty in my xsl router. When I try to
>>> access this property in my component using inMessage.getPropertyNames(),
>>> I
>>> don't see the property I set in xsl router.
>>>
>>> I dotn know what is wrong... can someone help?
>>>
>>>
>>
>>
>
>
>
--
View this message in context:
http://www.nabble.com/jbi%3AsetOutProperty-question-tf3679522s12049.html#a10294754
Sent from the ServiceMix - User mailing list archive at Nabble.com.