Joe,
According to what I read on the website, this looks OK. Just a few
thoughts:
- have you tried to access any other property of the message (that
should have been copied using jbi:copyProperties)?
- have you tried to add a hard-coded property, with a very
straightforward select in there (to be sure that there is nothing wrong
with the select clause)?
- try to set the logging treshold to DEBUG to see if there is any
additional information in the logs?
Gert
Joe Smith wrote:
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?