Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-3474

Suppress Stack Trace Log in MessagingMethodInvokerHelper

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 4.1 M1, 4.0.4
    • Component/s: Core
    • Labels:

      Description

      The http://stackoverflow.com/questions/14889373/spring-integration/14896364#comment38457299_14896364 emits a DEBUG stack trace log for

      11:43:27.664 [main] DEBUG o.s.i.u.MessagingMethodInvokerHelper - Method [public void com.ms.aps.fsmessaging.alert.QueryServiceActivator.getMessageProcessStatus(byte[],com.ms.aps.fsmessaging.alert.types.MessageType,java.lang.String) throws java.lang.Exception] is not eligible for Message handling.
      java.lang.IllegalArgumentException: Found more than one parameter type candidate: [byte[]] and [com.ms.aps.fsmessaging.alert.types.MessageType]
      ...

      Since the log can catch many different errors, we really need to keep the trace for unexpected problems but we should try to suppress it for these "known" non-fatal exceptions.

        Attachments

          Activity

            People

            Assignee:
            grussell Gary Russell
            Reporter:
            grussell Gary Russell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: