I think you can take a look at the examples that integrated with JBoss ESB, it is located at: $RiftSaw/samples/esb
All the examples are related to WS. My requirment is BPEL should pick the message from file or JMS instead of SOAP request.. Is it possible?
In a couple of weeks, when Switchyard 0.4 is released, it will include an example showing how to trigger a BPEL process using a message received from JMS. It may also be possible to receive a message from a file, using the Camel binding.
Riftsaw version 3 (the next major version) will only be distributed as a component within the Switchyard ESB - so it may be worth you checking out that project: http://www.jboss.org/switchyard