spring-integration-r.. - Spring Web Services - Parent - SpringSource
spring-integration-r.. - Spring Web Services - Parent - SpringSource spring-integration-r.. - Spring Web Services - Parent - SpringSource
Spring IntegrationIf you want to expose a channel for a single common operation to be invoked by Messages that neednot contain headers, then that option works well.Operation Invoking outbound GatewaySimilar to operation-invoking-channel-adapter Spring Integration also provides operation-invokingoutbound-gatewaywhich could be used when dealing with non-void operations and return value isrequired. Such return value will be sent as message payload to the 'reply-channel' specified by thisGateway.Another way of provideing the 'reply-channel' is by setting MessageHeaders.REPLY_CHANNELMessage HeaderMBean ExporterSpring Integration components themselves may be exposed as MBeans whenthe IntegrationMBeanExporter is configured. To create an instance of theIntegrationMBeanExporter, define a bean and provide a reference to an MBeanServer anda domain name (if desired). The domain can be left out in which case the default domain is"org.springframework.integration".Once the exporter is defined start up your application with-Dcom.sun.management.jmxremote-Dcom.sun.management.jmxremote.port=6969-Dcom.sun.management.jmxremote.ssl=false-Dcom.sun.management.jmxremote.authenticate=falseThen start JConsole (free with the JDK), and connect to the local process on localhost:6969 toget a look at the management endpoints exposed. (The port and client are just examples to get youstarted quickly, there are other JMX clients available and some offer more sophisticated features thanJConsole.)The MBean exporter is orthogonal to the one provided in Spring core - it registers message channelsand message handlers, but not itself. You can expose the exporter itself, and certain other components inSpring Integration, using the standard tag. The exporter has a coupleof useful metrics attached to it, for instance a count of the number of active handlers and the number ofqueued messages (these would both be important if you wanted to shutdown the context without losingany messages).2.1.6.RELEASESpring IntegrationReference Manual 111
Spring IntegrationMBean ObjectNamesAll the MessageChannel, MessageHandler and MessageSource instances in the application are wrappedby the MBean exporter to provide management and monitoring features. For example, MessageChannelsend The generated JMX object names for each component type are listed in the table belowTable 8.1.Component TypeMessageChannelMessageSourceMessageHandlerObjectNameorg.springframework.integration:type=MessageChannel,name=
- Page 74 and 75: Spring Integrationsend-partial-resu
- Page 76 and 77: Spring Integration}An implementatio
- Page 78 and 79: Spring Integration@CorrelationStrat
- Page 80 and 81: Spring IntegrationThe CorrelatingMe
- Page 82 and 83: Spring Integrationhandler is invoke
- Page 84 and 85: Spring Integration6. Message Transf
- Page 86 and 87: Spring IntegrationTipWhen debugging
- Page 88 and 89: Spring IntegrationConfiguring a Tra
- Page 90 and 91: Spring Integrationas well as point
- Page 92 and 93: Spring IntegrationFor instance the
- Page 94 and 95: Spring Integration6.3 Claim CheckIn
- Page 96 and 97: Spring Integrationmessage-store="me
- Page 98 and 99: Spring Integration7. Messaging Endp
- Page 100 and 101: Spring IntegrationPollingConsumer c
- Page 102 and 103: Spring Integration❺ The fixed rat
- Page 104 and 105: Spring IntegrationFor more informat
- Page 106 and 107: Spring IntegrationThe sample provid
- Page 108 and 109: Spring Integrationdefault-reply-cha
- Page 110 and 111: Spring Integrationannotation or the
- Page 112 and 113: Spring IntegrationHowever the Gatew
- Page 114 and 115: Spring IntegrationAlso, when dealin
- Page 116 and 117: Spring IntegrationMessage payload.
- Page 118 and 119: Spring Integrationbind the Message
- Page 120 and 121: Spring IntegrationFilterAs the abov
- Page 122 and 123: Spring Integration8. System Managem
- Page 126 and 127: Spring IntegrationMetric Type Examp
- Page 128 and 129: Spring IntegrationNoteRemember that
- Page 130 and 131: Spring Integrationmessaging. In Spr
- Page 132 and 133: Spring Integration9. AMQP Support9.
- Page 134 and 135: Spring Integration13 Comma-separate
- Page 136 and 137: Spring Integrationqueue-names="si.t
- Page 138 and 139: Spring IntegrationThe image belows
- Page 140 and 141: Spring IntegrationIf you are using
- Page 142 and 143: Spring IntegrationPolling for a Fee
- Page 144 and 145: Spring IntegrationThe configuration
- Page 146 and 147: Spring IntegrationNoteThe delete-so
- Page 148 and 149: Spring Integration13. FTP/FTPS Adap
- Page 150 and 151: Spring Integration* Will handle add
- Page 152 and 153: Spring Integrationremote FTP server
- Page 154 and 155: Spring Integration• -a - include
- Page 156 and 157: Spring Integration14. GemFire Suppo
- Page 158 and 159: Spring Integration14.4 Outbound Cha
- Page 160 and 161: Spring Integration15. HTTP Support1
- Page 162 and 163: Spring Integrationto Cookie in the
- Page 164 and 165: Spring Integrationrequest-factory="
- Page 166 and 167: Spring IntegrationHttpComponentsCli
- Page 168 and 169: Spring Integrationclass="org.spring
- Page 170 and 171: Spring Integration}for (String elem
- Page 172 and 173: Spring Integrationbyte order). This
<strong>Spring</strong> IntegrationMBean ObjectNamesAll the MessageChannel, MessageHandler and MessageSource instances in the application are wrappedby the MBean exporter to provide management and monitoring features. For example, MessageChannelsend The generated JMX object names for each component type are listed in the table belowTable 8.1.Component TypeMessageChannelMessageSourceMessageHandlerObjectNameorg.<strong>spring</strong>framework.<strong>integration</strong>:type=MessageChannel,name=