Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question
0

Problems deploying mule application

I am trying to build a small PoC mule implementation using GigaSpaces, but I am having some problems deploying.

First of all I took the 'hello' example application from mule. I created a mule.xml file and placed the following in my pu.xml file:

<bean class="org.openspaces.esb.mule.pu.OpenSpacesMuleContextLoader"/>

So far so good. The application deploys without problems, and my mule client gets a response from mule. But now I would like to add an outbound endpoint to this mule configuration. I altered my mule.xml file to use the gigaspace outbound router like this:

<model name="greeter">
        <service name="GreeterUMO">
            <inbound>
                <inbound-endpoint address="http://localhost:8888"
                    transformer-refs="HttpRequestToNameString" synchronous="true">
                </inbound-endpoint>
</inbound>

<component class="org.mule.example.hello.Greeter" />

<outbound>
                <pass-through-router>
                    <os-eventcontainer:outbound-endpoint giga-space="gigaSpace"/>
                </pass-through-router>
            </outbound>
        </service>
</model>

Now when I want to deploy my PU, I get the following message:

org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'pass-through-router'. One of '{"http://www.mulesource.org/schema/mule/core/2.0":abstract-catch-all-strategy, "http://www.mulesource.org/schema/mule/core/2.0":abstract-outbound-router}' is expected.

I have now completely stripped down my mule.xml to the bare minimum, but whenever I add the outbound router, I get the same message. Am I doing something wrong here?

I am using mule 2.0.2, which I deploy with my application in the /lib dir. I am using GigaSpaces 7.0.0-m8.

This thread was imported from the previous forum.
For your reference, the original is available here

asked 2009-06-18 06:50:14 -0500

john gravatar image

updated 2013-08-08 09:52:00 -0500

jaissefsfex gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

See example here: http://www.gigaspaces.com/wiki/displa...

You should use Mule 2.2.1.

Shay

answered 2009-06-18 06:56:18 -0500

shay hassidim gravatar image
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2009-06-18 06:50:14 -0500

Seen: 34 times

Last updated: Jun 18 '09