The problem I see with the first approach is if the same ESB example needed to use another third party ESB action that was in yet another domain - then the example could not be in two different domains (i.e. one associated with riftsaw and one associated with the other actions to be used).
I guess (2) is an option, but would require ESB project to do part of the work, and have to wait for the next ESB release.
Thanks for the help - I have a short term solution now, so buys me some time to find a longer term solution.
Regards
Gary