servicemix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Terry <glacie...@gmail.com>
Subject Setting spring.xml for SpringComponentTest
Date Mon, 29 Sep 2008 11:46:18 GMT
<?xml version="1.0" encoding="UTF-8"?>
As the default spring.xml for the SpringComponentTest : How do i set up the
bean properties to pass property value to providerEndpoint class?
<beans xmlns:sm="http://servicemix.apache.org/config/1.0"
       xmlns:my="http://com.my.component/1.0"
       xmlns:test="urn:test">

  <sm:container id="jbi" embedded="true" createMBeanServer="false">

    <sm:activationSpecs>

      <sm:activationSpec>
          <sm:component>
            <my:component>
                <my:endpoints>
                    <my:provider service="test:service" endpoint="endpoint"
                                />
                </my:endpoints>
            </my:component>
        </sm:component>
      </sm:activationSpec>

    </sm:activationSpecs>
  </sm:container>

</beans>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message