On Fri, Jul 6, 2012 at 5:04 PM, Keith Babo <kbabo@redhat.com> wrote:
switchyard add-reference --referenceName Hello  --interfaceType java --interface [className] --componentName [componentName]

Victory! That did it.

However, I did have to make a manual change for the command to work. I had to add this XML to switchyard.xml

<component name="Hello"></component>
<component name="Goodbye"></component>

Otherwise, the add-reference command complained there was no slot to put the reference "component not found"

Now I get:

Hello, JAX
Goodbye, JAX

:)

-Dan

--
Dan Allen
Principal Software Engineer, Red Hat | Author of Seam in Action
Registered Linux User #231597

http://google.com/profiles/dan.j.allen
http://mojavelinux.com
http://mojavelinux.com/seaminaction