Results 1 to 2 of 2

Thread: Spring Integration Inbound Channel Adapters

  1. #1
    Join Date
    Oct 2012
    Posts
    1

    Default Spring Integration Inbound Channel Adapters

    hI,

    Is it possible to use int-jdbc:inbound-channel-adapter and si:inbound-channel-adapter without configuring Poller alongwith?

    In case I want to execute JDBC call from Webservice / URL, I may not need to have Poller configured.

    Can you please suggest.

  2. #2
    Join Date
    May 2006
    Posts
    12

    Default

    Its not possible to use jdbc adapter without poller channel. We have the same mechanism and we have created a gateway interface for entry point to spring integration flow. So from your web service you call your gateway interface method which puts request onto pollable channel.
    For eg.

    Code:
    public interface SomeEntryPointGateway {
        void callJdbc(args);
    }
    
    In your configuration:
    
    <int:gateway channel="jdbcChannel"/>
    <int:channel id="jdbcChannel">
       <int:queue>
    </int:channel>
    Hope this helps!!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •