Author: davsclaus
Date: Sun Jan 4 23:15:28 2009
New Revision: 731475
URL: http://svn.apache.org/viewvc?rev=731475&view=rev
Log:
Polished wiki sample
Modified:
activemq/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/camelContextFactoryBean.xml
Modified:
activemq/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/camelContextFactoryBean.xml
URL:
http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/camelContextFactoryBean.xml?rev=731475&r1=731474&r2=731475&view=diff
==============================================================================
---
activemq/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/camelContextFactoryBean.xml
(original)
+++
activemq/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/camelContextFactoryBean.xml
Sun Jan 4 23:15:28 2009
@@ -15,12 +15,15 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
+ <!-- START SNIPPET: example5 -->
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:camel="http://activemq.apache.org/camel/schema/spring"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://activemq.apache.org/camel/schema/spring
http://activemq.apache.org/camel/schema/spring/camel-spring.xsd
">
+ <!-- END SNIPPET: example5 -->
<!-- START SNIPPET: example -->
<bean id="camel" class="org.apache.camel.spring.CamelContextFactoryBean">
@@ -49,5 +52,10 @@
</camelContext>
<!-- END SNIPPET: example4 -->
+ <!-- START SNIPPET: example6 -->
+ <camel:camelContext id="camel5">
+ <camel:package>org.apache.camel.spring.example</camel:package>
+ </camel:camelContext>
+ <!-- END SNIPPET: example6 -->
</beans>