Search:

Type: Posts; User: igor.bljahhin; Keyword(s):

Search: Search took 0.01 seconds.

  1. That was quite easy. We should add header to...

    That was quite easy. We should add header to Spring Integration message:



    <header-enricher input-channel="social-verify-channel-reschedule" output-channel="social-verify-channel">
    <!--...
  2. Thanks for the link. Unfortunately, that guide...

    Thanks for the link.
    Unfortunately, that guide didn't helped in my case. I cleaned cache, added Spring Project nature and rebuild the proejct.
  3. I uploaded image to Google+. BTW, the original...

    I uploaded image to Google+. BTW, the original image quality was fine, its forum's uploader, who decreased the quality of the image...
  4. No luck still... Latest version of STS (2.9.2)...

    No luck still... Latest version of STS (2.9.2) and Spring Integration ver. 2.2.0.M3.

    Screenshot:...
  5. Thank you! I am trying to solve my problem in...

    Thank you!
    I am trying to solve my problem in SSTS, but didn't succeed yet.
  6. I'm on Eclipse, but I will try to switch to...

    I'm on Eclipse, but I will try to switch to SSTS...
  7. Schema files are missed for version 2.2

    Hi!

    When do you plan to publish schema files of the version 2.2 on http://www.springframework.org/schema/integration/? They are still missed on that site and Eclipse gives a bunch of errors when...
  8. Replies
    6
    Views
    1,355

    I have same issue in 2.2.0.M2. My...

    I have same issue in 2.2.0.M2.

    My configuration is


    <jms:channel id="userInvitationChannel" queue="userQueue" selector="ACTION = 'INVITE'" transaction-manager="transactionManager"...
  9. Replies
    0
    Views
    312

    How fast can be ActiveMQ?

    Hello,

    My Spring Integration application uses ActiveMQ as JMS server. There are plenty of "jms:message-driven-channel-adapter" and "jms:channel" in my application, which send the messages to...
  10. I do it almost in same way, like the user...

    I do it almost in same way, like the user "clerik": I have added the field "retryCount" to my message object and in case of exception, I increment the value of this field, and save the message back...
  11. Replies
    2
    Views
    83,254

    That was easy, thanks to the book "Spring...

    That was easy, thanks to the book "Spring Integration in Action":



    @ContextConfiguration
    @RunWith(SpringJUnit4ClassRunner.class)
    public class CampaignStatisticsIntegrationTest {
    @Autowired...
  12. Replies
    2
    Views
    83,254

    Test Spring Integration flow with JUnit

    Hello,

    I'd like to test my SI flow with JUnit. I've read the forum and found that I need to create my own TaskExecutor and set "waitForTasksToCompleteOnShutdown" to "true".

    So, I defined the...
  13. Thank you for reply, Gary! I'll try the solution...

    Thank you for reply, Gary! I'll try the solution suggested by Oleg.
  14. Thank you, Oleg! Seems like this is right...

    Thank you, Oleg!
    Seems like this is right solution for me.
  15. I set "schedulerSupport" to "true" in broker's...

    I set "schedulerSupport" to "true" in broker's configuration's and now scheduling is working.
  16. Spring Integration and ActiveMQ's AMQ_SCHEDULED_DELAY property

    Hello,

    I would like to use ActiveMQ's scheduled processing feature (http://activemq.apache.org/delay-and-schedule-message-delivery.html). I can set the value to AMQ_SCHEDULED_DELAY header of JMS...
  17. Dynamically calculate "time-to-live" value of JMS

    Hi!

    I would like to calculate "time-to-live" value dynamically based on payload. I tried to use expression like this:


    <jms:outbound-channel-adapter id="statisticsCheckAdapter"...
  18. Replies
    6
    Views
    1,430

    Sure, I do it on SI M3 and latest Spring. Feel...

    Sure, I do it on SI M3 and latest Spring.

    Feel free to use it ;)
  19. Replies
    6
    Views
    1,430

    Hi! I thought that, if one group of messages...

    Hi!
    I thought that, if one group of messages somehow get mixed with another group, then nothing bad will happen. The adapters will be stopped a bit later - not a big deal. But then I realized, that,...
  20. Replies
    6
    Views
    1,430

    Oops, I was sure that "SEQUENCE_NUMBER" and...

    Oops, I was sure that "SEQUENCE_NUMBER" and "SEQUENCE_SIZE" are real values :)

    Unfortunately, your first suggesting wasn't working for me, because SI started to complain about "Got...
  21. Replies
    6
    Views
    1,430

    Aggregator not aggregates the messages

    Hello,

    I have three adapters, which send the message each minute. I inject into the header of the message the correlation ID, the sequence size and the sequence number. Then all messages should...
  22. Replies
    17
    Views
    2,433

    Hi! I have a similar case. Our application...

    Hi!

    I have a similar case. Our application uses three external systems: a database and two web services. I would like to implement the option of checking the state of these external systems, and...
  23. Replies
    6
    Views
    865

    Placing start code into @Before method starts the...

    Placing start code into @Before method starts the execution of inbound adapters well, but produces a new problem too. Test method finishes before than SI flow.
    I do not know, the solution with...
  24. Replies
    6
    Views
    865

    I found that adapters are not running when they...

    I found that adapters are not running when they are initialized in JUnit test.

    This code is working fine:

    public class Main {
    private static final Logger LOG =...
  25. Replies
    6
    Views
    865

    Hi! Thank you for reply! The control over JMX...

    Hi!

    Thank you for reply! The control over JMX is working like a charm: I can see in the log, that adapter is started and stopped.

    Another problem is that the adapter actually do not ask...
Results 1 to 25 of 25