Search:

Type: Posts; User: binz84; Keyword(s):

Search: Search took 0.03 seconds.

  1. Thread: Error Channel

    by binz84
    Replies
    1
    Views
    208

    Error Channel

    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....
  2. Thread: Error handling

    by binz84
    Replies
    0
    Views
    172

    Error handling

    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...
  3. Replies
    1
    Views
    340

    SpEL, Enum and Filters

    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?
  4. Replies
    5
    Views
    329

    That makes sense. Thanks Oleg

    That makes sense. Thanks Oleg
  5. Replies
    5
    Views
    329

    Thanks Oleg for the invite, but I'm afraid I...

    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...
  6. Replies
    5
    Views
    329

    Question on aggregator

    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...
  7. Replies
    6
    Views
    438

    Oh ya, the jmstemplate has the defaultDestination...

    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...
  8. Replies
    6
    Views
    438

    Here is a discrepancy I see: Within a...

    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...
  9. Replies
    6
    Views
    438

    Ok, I see that the destination resolver being...

    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...
  10. Replies
    6
    Views
    438

    Destination attribute of jms:listener

    <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...
  11. Replies
    1
    Views
    338

    Payload modification within a router

    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...
  12. Replies
    4
    Views
    449

    Thanks Mark for the explanation. Gary, I did...

    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...
  13. Replies
    4
    Views
    449

    SI schemas - version-less Vs 2.1

    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...
  14. Looks like patternMatch is true by default. ...

    Looks like patternMatch is true by default.
    ...
  15. I think I'll go with . ...

    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...
  16. Filtering headers added by HTTP inbound adapter

    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...
  17. Replies
    4
    Views
    355

    So if I'm using a context:property-placeholder...

    So if I'm using a
    context:property-placeholder syntax would be
    value="${someProp}" Is that correct?
  18. Replies
    4
    Views
    355

    Enricher, SpEL and util:properties

    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="..." />
Results 1 to 18 of 19