hi guillaume,
thanks for replying

Can i have more information with the PropertyExpression?
I will try to check that

In the case of a File Object, where this file must be located on the SMX?

Regards,
Erik


gnodet wrote:
> 
> Do you mean sending the xquery along with the xml document in the
> MessageExchange and let the component process it ?
> 
> You can specify an expression on the endpoint:
> 
> <saxon:xquery service="test:xquery-dynamic" endpoint="endpoint">
>   <saxon:expression>
>     <bean class="org.apache.servicemix.expression.PropertyExpression">
>       <property name="property" value="xquery.source" />
>     </bean>
>   </saxon:expression>
> </saxon:xquery>
> 
> Then, you have to put a valid value in the property "xquery.source" on
> the MessageExchange or NormalizedMessage.  Valid values include a
> spring Resource object, a File obect, a URL, a URI, or a string
> representing a spring url.
> 
> Currently there is no way to send the full xquery inside the exchange,
> but if you need that, feel free to provide a patch.
> 
> On 8/7/07, Erik Allais <[EMAIL PROTECTED]> wrote:
>>
>> hi,
>> i need to send dynamic xquery to my saxon component.
>> There is not enough information about that.
>>
>> Regards,
>> Erik
>>
>> --
>> View this message in context:
>> http://www.nabble.com/How-to-use-dynamic-xquery-saxon-component-tf4229923s12049.html#a12033655
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> Cheers,
> Guillaume Nodet
> ------------------------
> Principal Engineer, IONA
> Blog: http://gnodet.blogspot.com/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-use-dynamic-xquery-saxon-component-tf4229923s12049.html#a12068863
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to