Created
March 5, 2012 18:57
-
-
Save iocanel/1980354 to your computer and use it in GitHub Desktop.
Attaching http endoint manager to http endpoint
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <beans xmlns:http="http://servicemix.apache.org/http/1.0" | |
| xmlns:person="http://servicemix.apache.org/samples/wsdl-first"> | |
| <http:endpoint defaultmep="http://www.w3.org/2004/08/wsdl/in-out" | |
| endpoint="soap" | |
| id="httpEndpoint" | |
| locationuri="http://0.0.0.0:8192/PersonService/" | |
| role="consumer" | |
| service="person:PersonService" | |
| soap="true" | |
| targetservice="person:PersonService"/> | |
| <bean class="net.iocanel.blog.servicemix.management.HttpEndpointManager" id="manager"> | |
| <property name="endpoint" ref="httpEndpoint"/> | |
| </bean> | |
| <bean class="org.springframework.jmx.export.MBeanExporter" id="exporter"> | |
| <property name="assembler" ref="assembler"/> | |
| <property name="namingStrategy" ref="namingStrategy"> | |
| <property name="autodetect" value="true"/> | |
| </bean> | |
| <bean class="org.springframework.jmx.export.annotation.AnnotationJmxAttributeSource" id="jmxAttributeSource"/> | |
| <bean class="org.springframework.jmx.export.assembler.MetadataMBeanInfoAssembler" id="assembler"> | |
| <property name="attributeSource" ref="jmxAttributeSource".> | |
| </bean> | |
| <bean class="org.springframework.jmx.export.naming.MetadataNamingStrategy" id="namingStrategy"> | |
| <property name="attributeSource" ref="jmxAttributeSource"/> | |
| </bean> | |
| </beans> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment