Commit Graph

88 Commits

Author SHA1 Message Date
Jonas Partner
a838f3d5f0 synchronised dependencies from ivy.xml to Maven central poms for 1.0.2 2009-02-23 19:48:25 +00:00
Jonas Partner
bcbded1216 update version for repo1 pom's to 1.0.2.RELEASE 2009-02-21 19:18:40 +00:00
Mark Fisher
4c40137756 Added namespace support for 'default-reply-destination' (and queue/topic) names (INT-580). 2009-02-19 20:45:58 +00:00
Mark Fisher
0c1b87cce8 expected Exception type changed (now a JMS InvalidDestinationException) 2009-02-19 18:48:21 +00:00
Mark Fisher
004cee34a4 INT-580 2009-02-19 18:38:36 +00:00
Mark Fisher
137d8e86b8 Added default-reply-destination (and queue/topic name) awareness to the JMS inbound gateway parser (INT-580). 2009-02-19 18:26:30 +00:00
Mark Fisher
de0a85b31a Added 'defaultReplyDestination' to ChannelPublishingJmsMessageListener, and now throwing an Exception if there is a reply Message to send and neither a reply-to property or 'defaultReplyDestination' is available (INT-560 and INT-580). 2009-02-18 19:54:18 +00:00
Mark Fisher
afb17f1e18 Added StubProducer. 2009-02-18 19:30:07 +00:00
Mark Fisher
379f86ee4e No longer passing the destination in the producer.send(..) method since it is already provided when the Session's createProducer(..) method is invoked. JMS providers can throw an UnsupportedOperationException when the Destination is provided in both places (INT-560). 2009-02-18 15:13:34 +00:00
Mark Fisher
9d1403463b JMSMessageID is now copied to the Spring Integration Message's headers with a key whose value is defined in the constant: JmsHeaders.MESSAGE_ID (INT-543). 2009-01-08 21:30:01 +00:00
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