Author: arvinder Date: 2006-04-19 17:14:44 -0400 (Wed, 19 Apr 2006) New Revision: 3812 Added: labs/jbossesb/branches/JBESB-13/ESBCore/etc/ labs/jbossesb/branches/JBESB-13/ESBCore/etc/server/ labs/jbossesb/branches/JBESB-13/ESBCore/etc/server/default/ labs/jbossesb/branches/JBESB-13/ESBCore/etc/server/default/config/ labs/jbossesb/branches/JBESB-13/ESBCore/etc/server/default/config/jboss-esb-core.xml labs/jbossesb/branches/JBESB-13/ESBCore/etc/server/default/config/jboss-esb-services.xml labs/jbossesb/branches/JBESB-13/ESBCore/etc/server/default/deploy/ labs/jbossesb/branches/JBESB-13/ESBCore/etc/server/default/deploy/jboss-service.xml labs/jbossesb/branches/JBESB-13/ESBCore/etc/xmdesc/ labs/jbossesb/branches/JBESB-13/ESBCore/etc/xmdesc/JBossESBServiceMBean-xmbean.xml Log: Initial version Added: labs/jbossesb/branches/JBESB-13/ESBCore/etc/server/default/config/jboss-esb-core.xml =================================================================== --- labs/jbossesb/branches/JBESB-13/ESBCore/etc/server/default/config/jboss-esb-core.xml 2006-04-19 21:13:40 UTC (rev 3811) +++ labs/jbossesb/branches/JBESB-13/ESBCore/etc/server/default/config/jboss-esb-core.xml 2006-04-19 21:14:44 UTC (rev 3812) @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<deployment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="urn:jboss:bean-deployer bean-deployer_1_0.xsd" + xmlns="urn:jboss:bean-deployer"> + + <!-- ================================================================== --> + <!-- R E G I S T R Y --> + <!-- ================================================================== --> + <!-- + <bean name="serviceRegistry" class="org.jboss.esb.core.registry.LocalServiceRegistry"> + <constructor factoryClass="org.jboss.esb.core.registry.ServiceRegistryFactory" factoryMethod="createLocal"/> + </bean> + --> + +</deployment> \ No newline at end of file Added: labs/jbossesb/branches/JBESB-13/ESBCore/etc/server/default/config/jboss-esb-services.xml =================================================================== --- labs/jbossesb/branches/JBESB-13/ESBCore/etc/server/default/config/jboss-esb-services.xml 2006-04-19 21:13:40 UTC (rev 3811) +++ labs/jbossesb/branches/JBESB-13/ESBCore/etc/server/default/config/jboss-esb-services.xml 2006-04-19 21:14:44 UTC (rev 3812) @@ -0,0 +1,69 @@ +<?xml version="1.0" encoding="UTF-8"?> +<deployment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="urn:jboss:bean-deployer bean-deployer_1_0.xsd" + xmlns="urn:jboss:bean-deployer"> + + <!-- ================================================================== --> + <!-- E S B S E R V I C E S / C O N T A I N E R S --> + <!-- ================================================================== --> + + <!-- ================================================================== --> + <!-- J B I Container --> + <!-- ================================================================== --> + + <!-- ================================================================== --> + <!-- S C A Container --> + <!-- ================================================================== --> + + <!-- ================================================================== --> + <!-- S E R V I C E Container --> + <!-- Bus (MoM) Service + A validation service + A transformation service + An enrichment service e.g Id generation + An Operate service e.g invoke and ejb, or jbpm + .. + See David Chappells Book on ESB ie VETRO / VETO Pattern + --> + <!-- ================================================================== --> + + <!-- ================================================================== --> + <!-- E X A M P L E B U S / C H A N N E L S --> + <!-- Depending on the different adapter implementations, set different + configuration. Perhaps this should be part of a service container + that starts up various buss adapters, the adapters in part are + endpoints, so if we want to dynamically deploy endpoints/adapters, + we need to start a deployer etc, etc, unless the microkernel does + this automatically etc. + --> + <!-- ================================================================== --> + <!-- + <bean name="asynchronousRequestBus" class="org.jboss.esb.core.service.bus.adapter.jms.JMSBusAdapter"> + <constructor factoryClass="org.jboss.esb.core.service.bus.BusServiceFactory" factoryMethod="createBusService"/> + <property name="jndiBinding">A</property> + </bean> + + <bean name="asynchronousResponseBus" class="org.jboss.esb.core.service.bus.adapter.jms.JMSBusAdapter"> + <constructor factoryClass="org.jboss.esb.core.service.bus.BusServiceFactory" factoryMethod="createBusService"/> + <property name="jndiBinding">B</property> + </bean> + + <bean name="ControlBus" class="org.jboss.esb.core.service.bus.adapter.jms.JMSBusAdapter"> + <constructor factoryClass="org.jboss.esb.core.service.bus.BusServiceFactory" factoryMethod="createBusService"/> + <property name="jndiBinding">C</property> + </bean> + + <bean name="ServiceEventBus" class="org.jboss.esb.core.service.bus.adapter.jms.JMSBusAdapter"> + <constructor factoryClass="org.jboss.esb.core.service.bus.BusServiceFactory" factoryMethod="createBusService"/> + <property name="jndiBinding">D</property> + </bean> + + <bean name="productOrdering" class="org.jboss.esb.core.service.bus.adapter.jms.JMSBusAdapter"> + <constructor factoryClass="org.jboss.esb.core.service.bus.BusServiceFactory" factoryMethod="createBusService"/> + <property name="jndiBinding">E</property> + </bean> + --> + + + +</deployment> \ No newline at end of file Added: labs/jbossesb/branches/JBESB-13/ESBCore/etc/server/default/deploy/jboss-service.xml =================================================================== --- labs/jbossesb/branches/JBESB-13/ESBCore/etc/server/default/deploy/jboss-service.xml 2006-04-19 21:13:40 UTC (rev 3811) +++ labs/jbossesb/branches/JBESB-13/ESBCore/etc/server/default/deploy/jboss-service.xml 2006-04-19 21:14:44 UTC (rev 3812) @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + This current jboss-esb is simply an mbean wrapper onto our esb kernel which inturn + is built ontop of the new microkernel. Once the sar is removed, the bootstrap + will be done from the esb kernel directly. + $Id$ + --> + +<server> + + <mbean code="org.jboss.soa.esbcore.deploy.bootstrap.container.JBossESBServiceMBean" + name="jboss.esb:service=JBossESBServiceMBean" + xmbean-dd="xmdesc/JBossESBServiceMBean-xmbean.xml"> + </mbean> + +</server> \ No newline at end of file Added: labs/jbossesb/branches/JBESB-13/ESBCore/etc/xmdesc/JBossESBServiceMBean-xmbean.xml =================================================================== --- labs/jbossesb/branches/JBESB-13/ESBCore/etc/xmdesc/JBossESBServiceMBean-xmbean.xml 2006-04-19 21:13:40 UTC (rev 3811) +++ labs/jbossesb/branches/JBESB-13/ESBCore/etc/xmdesc/JBossESBServiceMBean-xmbean.xml 2006-04-19 21:14:44 UTC (rev 3812) @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?> + <!DOCTYPE mbean PUBLIC + "-//JBoss//DTD JBOSS XMBEAN 1.2//EN" + "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_2.dtd"> + +<!-- $Id$ --> + +<mbean> + <description>A microcontainer kernel wrapper for JBoss ESB</description> + <class>org.jboss.soa.esbcore.deploy.bootstrap.container.JBossESBServiceMBean</class> + + <!-- Managed constructors --> + <constructor> + <name>JBossESBServiceMBean</name> + </constructor> + + <!-- Managed operations --> + <operation> + <description>JBoss Service lifecycle operation</description> + <name>start</name> + </operation> + + <operation> + <description>JBoss Service lifecycle operation</description> + <name>stop</name> + </operation> + + +</mbean> |