Results 1 to 4 of 4

Thread: Example on Spring ApplicationEvent Support

  1. #1

    Default Example on Spring ApplicationEvent Support

    Hi,
    Could anyone direct me to good example on int-event adapters?
    What are the use cases where we can use int-event?

  2. #2

    Default

    Hi, the reason to ask the previous question. I am using on Primefaces 3.5 and JSF 2.1.9(mojarra). So I am looking for whatever events occurs on the server side. I want to capture and send it to presentation layer like inserted/updated record on database etc. etc. I mean any events. Trying to build event based application at the end it will near to real time. Currently, I have used ftp inbound/outbound, file inbound/outbound, jdbc inbound/outbound, mail inbound/outbound. These are the major adapters Which I have used so far. Suppose let's say there is one method, if anyone invokes that method I want to trigger an event and using spring integration how to capture events in the tables of databases. not like polling mechanisms.

  3. #3
    Join Date
    Mar 2010
    Location
    Gtr Philadelphia, PA
    Posts
    2,137

    Default

    The event adapters are simply a convenient way to access the ApplicationContext eventing mechanism...

    http://static.springsource.org/sprin...onality-events

    ...where applications can publish/consume events.

    To trigger an event for a method call, consider using the Spring Integration message publishing feature...

    http://static.springsource.org/sprin...ublishing.html
    Gary P. Russell
    Spring Integration Team
    SpringSource, a division of VMware

  4. #4

    Default

    Thanks a lot.

Posting Permissions

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