Results 1 to 5 of 5

Thread: AMQP channel interceptor

  1. #1
    Join Date
    Oct 2011
    Posts
    4

    Default AMQP channel interceptor

    How to create an interceptor for amqp:channel to implement a kind of message auditing? It looks amqp:channel tag cannot have interceptors tag (like channel tag). Cannot use channel tag, since it doesn't have amqp specific attributes like transaction-manager, channel-transacted etc. Any other alternative?

  2. #2
    Join Date
    Oct 2005
    Location
    Boston, MA
    Posts
    2,840

    Default

    Can you please open a JIRA issue here?: https://jira.springsource.org/browse/INT

    It should be a simple fix. The parser actually would support interceptor sub-elements, but they are not yet allowed according to the XSD. We can easily address this for Spring Integration 2.1 RC1.

    Thanks for catching it.
    -Mark

  3. #3
    Join Date
    Oct 2011
    Posts
    4

  4. #4
    Join Date
    Oct 2005
    Location
    Boston, MA
    Posts
    2,840

    Default

    I've submitted the pull request: https://github.com/SpringSource/spri...ation/pull/157

    It will be resolved as soon as that is merged into the master branch.

  5. #5
    Join Date
    Oct 2011
    Posts
    4

    Default

    Global interceptor seems work fine with AMQP channel. Can someone confirm if it is recommended short term solution while we fix this bug?

Posting Permissions

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