Mark Fisher
|
27e288be08
|
Refactored existing Message-consuming endpoints to only implement MessageConsumer (not MessageEndpoint). Now, either a PollingConsumerEndpoint or SubscribingConsumerEndpoint delegates to the MessageConsumer thereby separating the Lifecycle responsibilities and configuration settings (trigger, transactions, etc) since they are different for polling vs. subscribing and not relevant for simply consuming Messages. Essentially all MessageConsumers are now "event-driven" since a "polling consumer" is actually handled by the PollingConsumerEndpoint class. The next refactoring step involves renaming several components to clarify this endpoint vs. consumer distinction.
|
2008-10-06 17:24:46 +00:00 |
|
Mark Fisher
|
8cea74f062
|
Using Asserts with IllegalArgumentException/IllegalStateException instead of ConfigurationException.
|
2008-09-30 03:44:40 +00:00 |
|
Mark Fisher
|
a76c65220b
|
GatewayProxyFactoryBean now creates a Map of gateways (per-Method). This will enable support for @Gateway annotations (coming soon). Also, the @Header and @Headers annotations are now supported for gateway method parameters. The 'request-channel' and 'reply-channel' attributes of the <gateway/> element have been changed to 'default-request-channel' and 'default-reply-channel' since the request/reply channels will be configurable on a method-by-method basis with annotations (the same applies to 'request-timeout' and 'reply-timeout'). The MessageMapper interface has been split into InboundMessageMapper (with 'toMessage') and OutboundMessageMapper (with 'fromMessage') since the behavior is not always symmetrical For example, the gateway uses MethodParameterMessageMapper for creating a Message *from* the args array but it uses SimpleMessageMapper (the new name for DefaultMessageMapper) to create a Message whose payload is the method's return value.
|
2008-09-28 19:58:24 +00:00 |
|
Mark Fisher
|
de10530387
|
Moved MessageChannelTemplate and AsyncMessageChannelTemplate to the 'channel' package (was in 'message').
|
2008-09-24 13:50:31 +00:00 |
|
Mark Fisher
|
8a103b7ec5
|
Moved the MessageHandler interface into the 'org.springframework.integration.adapter' module/package since it is now only used for proxy-based Messaging Gateways.
|
2008-09-22 19:16:01 +00:00 |
|
Mark Fisher
|
c8eb719d41
|
Renamed RmiHandler to RmiOutboundGateway and RmiGateway to RmiInboundGateway.
|
2008-09-21 14:37:19 +00:00 |
|
Mark Fisher
|
890d7b227a
|
Migrated HttpInvoker adapter and parser code from "org.springframework.integration.adapter" to the new "org.springframework.integration.httpinvoker" module, and added a dedicated spring-integration-httpinvoker-1.0.xsd schema and HttpInvokerNamespaceHandler. Also refactored base and support classes for remoting-based Messaging Gateways (including both HttpInvoker and RMI adapters).
|
2008-09-20 19:32:56 +00:00 |
|
Mark Fisher
|
6ed4c1d7bf
|
Migrated RMI adapter and parser code from "org.springframework.integration.adapter" to the new "org.springframework.integration.rmi" module, and added a dedicated spring-integration-rmi-1.0.xsd schema and RmiNamespaceHandler.
|
2008-09-20 16:36:50 +00:00 |
|