Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-12415

Complete message object visible in ERROR at org.jboss.resource.adapter.jms.inflow.JmsServerSession

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 18.0.0.Final
    • 17.0.1.Final
    • JMS
    • None

    Description

      JMS message data is thrown in server.log for error in org.jboss.resource.adapter.jms.inflow.JmsServerSession, since this can be sensitive data for users, there is no option to hide the data while having the exception.

      09:54:28,428 ERROR [org.jboss.resource.adapter.jms.inflow.JmsServerSession] (default-threads - 38) Unexpected error delivering message TextMessage={ Header={ JMSMessageID=

      {ID: XXXXXXXXXXXXXXXXXX}

      JMSDestination=

      {Queue[]}

      JMSReplyTo=

      {null} JMSDeliveryMode={PERSISTENT} JMSRedelivered={false} JMSCorrelationID={null}

      JMSType=

      {null}

      JMSTimestamp=

      {Wed Jul 03 09:54:23 GMT 2019}

      JMSDeliveryTime=

      {Wed Jul 03 09:54:23 GMT 2019}

      JMSExpiration=

      {0}

      JMSPriority=

      {4}

      } Properties=

      { WHOLE EVENT MESSAGE DISPLAY HERE}

      }: javax.ejb.EJBTransactionRolledbackException: Problem during method invocation (onMessage)

      This exception originates from this line:

      https://github.com/jms-ra/generic-jms-ra/blob/master/generic-jms-ra-jar/src/main/java/org/jboss/resource/adapter/jms/inflow/JmsServerSession.java#L168

      Attachments

        Issue Links

          Activity

            People

              rhn-support-ivassile Ilia Vassilev
              rhn-support-ivassile Ilia Vassilev
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: