billybong / camel-in-jboss7 Goto Github PK
View Code? Open in Web Editor NEWAn example of starting camel in JBoss AS 7 using the Switchyard bundled Camel modules
An example of starting camel in JBoss AS 7 using the Switchyard bundled Camel modules
Sample project leveraging JBoss 7 modules to keep the dependencies lightweight. Deploy to JBoss AS7 using: "mvn clean package jboss-as:deploy" Start JBoss using the previes JEE profile, "./standalone.sh --server-config=standalone-preview.xml" Switchyard 0.2 bundled in JBoss 7 was used, although the modules neede some changes to module.xml. The affected modules and their xml configuration are: org.apache.camel.core:2.8.0 <module xmlns="urn:jboss:module:1.0" name="org.apache.camel.core" slot="2.8.0"> <resources> <resource-root path="camel-core-2.8.0.jar"/> </resources> <dependencies> <module name="javax.api"/> <module name="javax.xml.stream.api"/> <module name="org.fusesource.commonman" slot="1.0"/> <module name="org.apache.commons.logging"/> <module name="org.slf4j"/> <module name="org.switchyard.jaxb-impl" services="export" export="true"/> </dependencies> </module> ------------------------------- org.apache.camel.jms:2.8.0 <module xmlns="urn:jboss:module:1.0" name="org.apache.camel.jms" slot="2.8.0"> <resources> <resource-root path="camel-jms-2.8.0.jar"/> </resources> <dependencies> <module name="org.apache.camel.core" slot="2.8.0"/> <module name="org.apache.camel.spring" slot="2.8.0"/> <module name="org.apache.commons.logging"/> <module name="org.springframework"/> <module name="javax.jms.api"/> <module name="javax.api"/> <module name="org.slf4j"/> </dependencies> </module> --------------------------------- org.apache.camel.spring:2.8.0 <module xmlns="urn:jboss:module:1.0" name="org.apache.camel.spring" slot="2.8.0"> <resources> <resource-root path="camel-spring-2.8.0.jar"/> </resources> <dependencies> <module name="org.apache.camel.core" slot="2.8.0"/> <module name="org.apache.commons.logging"/> <module name="javax.jms.api"/> <module name="org.springframework" export="false"/> </dependencies> </module> --------------------------------- org.springframework <module xmlns="urn:jboss:module:1.0" name="org.springframework"> <resources> <resource-root path="spring-beans-3.0.5.RELEASE.jar"/> <resource-root path="spring-core-3.0.5.RELEASE.jar"/> <resource-root path="spring-context-3.0.5.RELEASE.jar"/> <resource-root path="spring-jms-3.0.5.RELEASE.jar"/> <resource-root path="spring-tx-3.0.5.RELEASE.jar"/> </resources> <dependencies> <module name="javax.jms.api"/> <!-- Could probably do with javax.api here instead.. --> <module name="org.apache.commons.logging"/> </dependencies> </module> TODO's ----------------- - The flow works as expected, but the logging is only displaying randombly. Either none of the logs show up, or one of the inbound or outbound logs. - JMX is not currently working due to dependency problems which is shown during deployment. Probably the Camel main module needs dependencies on spring framework jmx logging.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.