What are the different components for which error-channels are applicable? I thought all the inbound gateways should have an 'error-channel' attribute, but I find it not the case; ex....
Type: Posts; User: binz84; Keyword(s):
What are the different components for which error-channels are applicable? I thought all the inbound gateways should have an 'error-channel' attribute, but I find it not the case; ex....
I'm trying to implement a robust error handling on this flow:
http inbound gateway -> webservice outbound gateway -> jms outbound adapter
The client that triggers the http inbound gateway should...
In my payload, one of the property is of Enum type. Is it possible to use SpEL expression to filter the messages based on the enum property value?
That makes sense. Thanks Oleg
Thanks Oleg for the invite, but I'm afraid I won't be able to make it now.
I just took a look at your github example. If I got it correctly, the errored out messages are redirected to a separate...
Splitter -> Router -> Aggregator
In this config, say the router routes few messages to nullchannel. Would the aggregator be able to aggregate the remaining messages - or would it wait for the...
Oh ya, the jmstemplate has the defaultDestination property referring a bean that has been created via jee:jndi-lookup. Now it makes sense. Looks like the destinationResolver property for jmsTemlate...
Here is a discrepancy I see:
Within a jms:listener, the destination name has to be the actual queue name. But for the JMSTemplate, the DefaultDestinationName can be the jndi name of the queue. (Both...
Ok, I see that the destination resolver being used is DynamicDestinationResolver. So is this intelligent enough to figure out the queue based on the actual physical queue name? Why is that this...
<jms:listener destination="queue" ref="..." />
In WebSphere, I've seen that @destination should be the name of the physical queue and not the jndi name or the WebSphere assigned name. Is that...
I'm having a custom router in this form:
@Router
public String route(Foo payload) {...}
If I modify the payload object within this method (say, payload.setDate(new Date())), would that...
Thanks Mark for the explanation.
Gary, I did try clearing the cache, but on closing and opening my context file, I find that Eclipse (not STS) downloads both these version of the schema file...
As per section 1.2.2 of Spring Integration Reference manual, we are supposed to use the version-less SI namespace i.e. with schema location as...
Looks like patternMatch is true by default.
...
I think I'll go with <int:header-filter/>.
<int:header-filter header-names="*" />
From the docs, I find that there is a setPatternMatch() method that will enable me to use '*' wildcard, but...
Is it possible to filter out all the extra headers that are added by a http-inbound adapter? I'm having a JMS outbound adapter on the downstream flow, and it is throwing exceptions such as 'The...
So if I'm using a
context:property-placeholder syntax would be
value="${someProp}" Is that correct?
How do I use the value from a properties file as a static value for enricher?
Properties file:
myname1:myvalue1
myname2:myvalue2
<util:properties id="myProperties" location="..." />