Commit Graph

91 Commits

Author SHA1 Message Date
Mark Fisher
3a9e6f3bca INT-1123, INT-1125 2010-05-07 04:10:57 +00:00
Mark Fisher
22193b378e INT-977 updated spring.schemas to include mappings for versionless schema URIs starting with Spring Integration version 1.0.4 2010-04-12 21:18:02 +00:00
Mark Fisher
a6a676d2c6 INT-966 using BeanComponentDefinition 2010-03-03 16:31:25 +00:00
Mark Fisher
d79611a067 INT-804 JMS header-enricher now properly expects a JMS Destination reference rather than a String in the 'reply-to' attribute. 2009-09-30 17:48:52 +00:00
Mark Fisher
103df7ada2 INT-763 The 'container' attribute is no longer available for a non-message-driven 'inbound-channel-adapter' element (where it would have no effect). 2009-08-24 21:01:55 +00:00
Mark Fisher
fdfb537a16 INT-727, INT-728 Refactored parsers so that default beans (errorChannel, nullChannel, and taskScheduler) will always be configured - even when not using the core namespace. Also added support for the 'auto-startup' attribute on several adapters. 2009-07-16 18:04:40 +00:00
Mark Fisher
2f1b8a7039 INT-704 added support for 'order' on 'outbound-channel-adapter' and 'outbound-gateway' in the JMS namespace 2009-07-03 03:39:57 +00:00
Mark Fisher
098693ad2e INT-695 Moved all schemas to src/main/resources 2009-06-30 18:48:40 +00:00
Mark Fisher
4bb3779eca INT-643 2009-06-30 03:02:09 +00:00
Iwein Fuld
51142a0cd9 Hammered out some compiler warnings 2009-03-23 16:14:05 +00:00
Mark Fisher
064f6694f6 Resolved INT-613 2009-03-19 22:17:54 +00:00
Mark Fisher
7bed90ccce INT-539 2009-03-15 22:02:19 +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
7e2ff00891 Added tool annotations to the jms schema (INT-114). 2008-12-17 01:26:32 +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