Commit Graph

78 Commits

Author SHA1 Message Date
Mark Fisher
ef877debc8 updated inter-project dependency versions in template.mf files 2008-12-17 18:03:30 +00:00
Mark Fisher
a8635781a9 updated spring dependencies to version 2.5.6.A 2008-12-17 17:40:47 +00:00
Mark Fisher
7e2ff00891 Added tool annotations to the jms schema (INT-114). 2008-12-17 01:26:32 +00:00
Jonas Partner
e665c83fb6 change artifactId to ensure they don't clash with artifactId's in SpringSource repository 2008-12-15 09:54:27 +00:00
Jonas Partner
c67c48c85e Maven poms using dependencies from repo1 INT-245 2008-12-11 22:15:52 +00:00
Mark Fisher
38edabe807 Minimizing class loading in parsers and using the parser context error handling capabilities rather than throwing Exceptions or using assertions. This facilitates proper tooling support (INT-114). 2008-12-11 20:23:15 +00:00
Mark Fisher
bc4a20f6c5 All pre-defined internal header names are now valid Java identifiers. Dot delimiters have been replaced by underscores, and hyphenated names are now camelCase. The SimpleHeaderEnricherParser uses Conventions.attributeToPropertyName(). The attributes are now legal for passing as JMS properties (INT-511). 2008-12-09 21:32:29 +00:00
Jonas Partner
3a6947b190 increased timeout 2008-11-26 12:20:46 +00:00
Iwein Fuld
2b97059833 reduced poller interval to allow second try when server is stressed 2008-11-26 08:48:32 +00:00
Mark Fisher
4a5ad2705f Removed some unused constants and made others package-private. 2008-11-26 02:35:25 +00:00
Mark Fisher
1b61509bde Added some JavaDoc. 2008-11-26 02:03:57 +00:00
Mark Fisher
9ab1e73996 Removing TODOs. 2008-11-25 21:32:20 +00:00
Mark Fisher
b73a8d2949 Added default pollers for inbound adapters. 2008-11-25 04:20:30 +00:00
Mark Fisher
3717556f19 INT-494 2008-11-24 23:23:50 +00:00
Mark Fisher
79fdb179fc Added support for a top-level 'poller' element. A single top-level poller may have a value of 'default=true'. When using the namespace support, endpoints with pollable input-channels are now required to have an explicit poller sub-element or a 'default' poller within the context. The sub-element now also accepts a "ref" (INT-390). 2008-11-24 21:37:18 +00:00
Mark Fisher
d4237d0fca The JMS 'outbound-gateway' element now accepts a 'poller' sub-element. 2008-11-24 21:23:59 +00:00
Mark Fisher
8a43a9f709 JMS adapter IDs are now xsd:ID types instead of xsd:string. 2008-11-24 13:20:35 +00:00
Mark Fisher
ea5e66c7a4 Added support for a 'destinationResolver' property reference for the inbound JMS Channel Adapter including namespace support (INT-488). 2008-11-22 18:21:03 +00:00
Mark Fisher
8772fd8169 Added support for request and reply Destination names for the JmsOutboundGateway. The 'destinationResolver' property reference may also be provided including namespace support with the 'destination-resolver' attribute. This also applies to the 'inbound-gateway' and 'message-driven-channel-adapter' elements (INT-488). 2008-11-22 17:52:38 +00:00
Mark Fisher
a71127fb4d Removed the USER_PREFIX that was considered when mapping between MessageHeaders and JMS properties. Now, the DefaultJmsHeaderMapper will attempt to map all MessageHeaders and those with the JmsHeaders.PREFIX are the only ones treated differently (e.g. for mapping to the JMSCorrelationId). 2008-11-22 17:09:14 +00:00
Mark Fisher
b9435fdc41 The 'request-channel' attribute is now optional on the jms:outbound-gateway element so that the gateway may be added to a chain. 2008-11-22 16:55:51 +00:00
Mark Fisher
93a2d2c9f2 Renamed the 'parseConsumer' method to 'parseHandler' since it creates an implementation of MessageHandler. 2008-11-21 17:39:01 +00:00
Mark Fisher
7b670760be Added support for a 'message-driven-channel-adapter' in the JMS namespace. Also, both the 'message-driven-channel-adapter' and the 'inbound-gateway' elements now accept a 'container' attribute with a reference to an instance of AbstractMessageListenerContainer (INT-477, INT-482). 2008-11-20 22:34:15 +00:00
Mark Fisher
b06ebff6b3 Refactored the JmsInboundGateway into the simpler JmsMessageDrivenEndpoint. The JmsInboundGatewayParser now handles a 'container' reference, else it creates a DefaultMessageListenerContainer (INT-482). The JmsMessageDrivenEndpoint will also provide the necessary implementation to support an event-driven inbound-channel-adapter for JMS (INT-477). 2008-11-20 21:30:47 +00:00
Mark Fisher
b404a6d129 Reordered setters. 2008-11-20 18:58:27 +00:00
Mark Fisher
3a7144d8d6 JmsInboundGateway now delegates to a MessageListener or SessionAwareMessageListener instance. The 'jms:inbound-gateway' parser now configures an instance of ChannelPublishingJmsMessageListener (part of INT-477 and INT-482). 2008-11-20 17:34:15 +00:00
Mark Fisher
92f13c8517 Initial commit of the new ChannelPublishingJmsMessageListener (part of INT-477 and INT-482). 2008-11-20 16:48:14 +00:00
Mark Fisher
e88d69529c Removed 'jms-template' attribute from elements where it should not be used. 2008-11-20 16:37:05 +00:00
Mark Fisher
da45a1a925 Removed unused ChannelPublishingJmsListener. 2008-11-20 16:36:11 +00:00
Mark Fisher
3e0ca28288 Added namespace support for the 'pub-sub-domain' attribute for both JmsInboundGateway and JmsOutboundGateway (INT-482). This is most likely an interim step while refactoring continues with the ultimate goal of providing a clearer separation between the MessageListener container and MessageListener implementation. This will also be relevant for INT-477. 2008-11-20 14:18:17 +00:00
Mark Fisher
17a93b64c0 Added 'pubSubDomain' property to JmsOutboundGateway. 2008-11-20 14:14:11 +00:00
Mark Fisher
24f3251b67 Added 'pubSubDomain' property to JmsInboundGateway. 2008-11-20 14:12:48 +00:00
Mark Fisher
6a4a246e31 JmsOutboundGateway now throws a MessageTimeoutException in case a JMS reply Message is not received within the alloted timeout. The null object is no longer passed to the MessageConverter where a misleading Exception ("payload must not be null") was being thrown (INT-479). 2008-11-17 17:07:11 +00:00
Mark Fisher
91638c78e2 Added support for the 'extractPayload' property for both JMS inbound and outbound Channel Adapters. This includes support for the "extract-payload" attribute in their respective XML elements in the "jms" namespace (INT-460). 2008-11-13 23:01:54 +00:00
Mark Fisher
ce99675340 Added the headerMapper, extractRequestPayload, and extractReplyPayload properties to JmsOutboundGateway. Also added the corresponding namespace support with 'header-mapper', 'extract-request-payload', and 'extract-reply-payload' attributes for the 'jms:outbound-gateway' element. This work is related to INT-368, INT-460, and INT-467. 2008-11-13 22:14:49 +00:00
Mark Fisher
6a77b2b642 Factored out the MessageListener implementation into a separate inner class. 2008-11-13 21:37:26 +00:00
Mark Fisher
e2e98d8c2c The 'extract-payload-for-reply' attribute for a JMS inbound-gateway is now 'extract-reply-payload'. The 'extract-request-payload' attribute has also been added. Both have default values of TRUE (the default for 'extract-reply-payload' had been FALSE). This work is related to INT-368, INT-460, and INT-467. 2008-11-13 21:22:40 +00:00
Mark Fisher
618282db91 Removed extra request channel settings in test class. 2008-11-13 01:16:58 +00:00
Mark Fisher
37e47f6510 Added support for the 'receive-timeout' on the JMS 'outbound-gateway' element. 2008-11-13 00:54:28 +00:00
Mark Fisher
5673edddcd INT-468 2008-11-13 00:37:08 +00:00
Mark Fisher
34f8cee5b0 Refactored JmsOutboundGateway so that a 'replyDestination' may be set. If none is provided, it will create a TemporaryQueue per invocation (INT-466). 2008-11-12 23:58:01 +00:00
Mark Fisher
c68f54df9e INT-302 2008-11-12 17:19:48 +00:00
Mark Fisher
fea222b37f The <message-bus/> element is no longer necessary. It has been removed from the XSD (INT-462). The annotations are enabled by a separate element, and the application-event-multicaster element is also now separate. 2008-11-11 23:08:45 +00:00
Mark Fisher
f4ccde6257 Message Endpoints and the SimpleTaskScheduler now manage their own lifecycles. The ApplicationContextMessageBus is no longer necessary (part of INT-462). The MessagePublishingErrorHandler now detects the default error channel within the beanFactory if necessary (INT-464). 2008-11-11 20:11:21 +00:00
Mark Fisher
ef1b7fe54b Moved classes from 'consumer' package to 'handler'. 2008-11-03 15:06:45 +00:00
Mark Fisher
515ed698a6 Renamed SubscribingConsumerEndpoint to EventDrivenConsumer. 2008-11-03 14:41:53 +00:00
Mark Fisher
3e2d09e5d7 Renamed PollingConsumerEndpoint to PollingConsumer. 2008-11-03 14:32:02 +00:00
Mark Fisher
39a8486ac8 Refactored MessageConsumer with onMessage to MessageHandler with handleMessage. 2008-11-03 14:17:53 +00:00
Mark Fisher
8279cce04d Upgraded dependencies to Spring 2.5.6 (INT-446). 2008-11-02 16:12:07 +00:00
Jonas Partner
47312fef0c removed unused channel from test 2008-10-23 10:19:25 +00:00