My problem is that I'm writing JBI packages of my own and I've to use the
standard jbi way of doing.
So, I can't use the xbean syntax and that's why I'm looking for what to use
in the consumes/provides section of a jbi file to specified some propertie
value.
For example, if I have this file :
----------------------------------------------------------------
<?xml version="1.0"?>
<beans xmlns:file="http://servicemix.apache.org/file/1.0"
xmlns:test="http://servicemix.apache.org/samples/test">
<file:poller service="test:poller"
endpoint="poller"
targetService="test:receiver"
file="file:target/pollerFiles" />
</beans>
----------------------------------------------------------------------
and that I want to write a standard jbi descriptor with the following syntax
:
----------------------------------------------------------------------
<jbi version="1.0" xmlns='http://java.sun.com/xml/ns/jbi'
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xmlns:file="http://servicemix.apache.org/file/1.0"
xmlns:test="http://servicemix.apache.org/samples/test">
<services binding-component="true">
<consumes interface-name="Poller"
service-name="test:poller"
endpoint-name="poller">
<!------------------- Properties values
------------- -->
</consumes>
</services>
</jbi>
------------------------------------------------------------------------
I don't know how to add targetService and file polling adress ...
Thanks for your help,
Natacha
gnodet wrote:
>
> The SU jbi descriptor is not used by ServiceMix, so you
> won't find much information about it in the docs.
> However it is generated by the jbi maven plugin automatically.
> For file polling, look at
> http://incubator.apache.org/servicemix/servicemix-file.html
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Architect, LogicBlaze (http://www.logicblaze.com/)
> Blog: http://gnodet.blogspot.com/
>
>
--
View this message in context:
http://www.nabble.com/fichier-JBI-standard-pour-les-SUS-tf3397661s12049.html#a9474492
Sent from the ServiceMix - User mailing list archive at Nabble.com.