Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8788073
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T22:04:43+00:00 2026-06-13T22:04:43+00:00

I am fairly new to Spring integration, but learning so far. I am getting

  • 0

I am fairly new to Spring integration, but learning so far.

I am getting messages from a channel named “Channel-1” and passing on to “Channel-2” through a bridge

<task:executor id="Channel2Executor" pool-size="${executor.pool.size}" rejection-policy="CALLER_RUNS" />

<int:channel id="Channel-2">
    <int:dispatcher task-executor="Channel2Executor"/>
</int:channel>

<int:bridge id="adapterParserBridge" input-channel="Channel-1" output-channel="Channel-2">
</int:bridge>

Strange thing is that when I deploy the application in JBoss, first time the message passes through and makes to end of my subsequent flow, though there are some errors in later part of flow.

Second time onwards the message reaches till “Channel-1”, but never makes beyond – no errors, no logs, all on DEBUG mode, no trace of anything.

So my questions are:

1) Are the errors which are happening in later part of flow cause of such an issue?

2) How to debug such an drop of message for no reason and without any error?

3) Any other suggestions or pointers to drill through these channels would be great

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T22:04:47+00:00Added an answer on June 13, 2026 at 10:04 pm
    1. No

    2. In debug mode, if you really are sending a message to Channel-1 you will see “preSend on channel ‘Channel-1’… “, “postSend on channel ‘Channel-1’… ” etc.

    3. A common mistake is to have more than one subscriber on Channel-1; by default, RoundRobin distribution is used; so, the first message would be bridged to Channel-2, the second would go to the other subscriber, etc.

    With debug logging, it is impossible to send a message to Channel-1 without seeing, at least, the “preSend” debug log.

    21:09:24.825 DEBUG [someThread][org.springframework.integration.channel.DirectChannel] preSend on channel 'foo', message: [Payload=xxx][Headers={timestamp=1352167764822, id=14b8ae47-08d8-4bf6-94bf-e342eb705df4}]
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am fairly new to c#. So far so good with learning. I do
I am a completely new to JPA+Hibernate+Spring (but I have a fairly much experience
I am fairly new Akka world and was trying to use akka-spring integration. I
I'm comfortable programming in Java, but am fairly new to Spring. I've been reading
I'm fairly new to Spring and I need a bean that has two properties
I'm fairly new to the DI concept, but I have been using it to
I'm hoping not to re-invent the wheel -- I'm fairly new to Java, but
I'm fairly new to C++ programming and I've been getting an error that I
I'm fairly new to C# and I come from a Ruby background. I still
I am fairly new to Spring and am working with a suite of JUnit

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.