企业服务总线(ESB)中的集成模式与服务聚合
1. 管道配置与部署
在ESB的集成中,管道配置是重要的一环。我们在servicemix.xml文件中对管道以及其他组件进行配置,以下是该文件的内容:
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://xbean.org/schemas/spring/1.0" xmlns:sm="http://servicemix.apache.org/config/1.0" xmlns:test="http://xslt.servicemix.apache.binildas.com" xmlns:eip="http://servicemix.apache.org/eip/1.0" xmlns:jms="http://servicemix.apache.org/jms/1.0"> <classpath> <location>.</location> </classpath> <import resource="classpath:jmx.xml" /> <import resource="classpath:jndi.xml" /> <import resource="classpath:security.xml" /> <import resource="classpath:tx.xml"