[forge-dev] trying to close the gap on a SwitchYard demo

Dan Allen dan.j.allen at gmail.com
Fri Jul 6 17:31:59 EDT 2012


On Fri, Jul 6, 2012 at 5:04 PM, Keith Babo <kbabo at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20120706/f06da798/attachment.html 


More information about the forge-dev mailing list