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

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

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 17.0.1.Final
    • Fix Version/s: 18.0.0.Final
    • Component/s: JMS
    • Labels:
      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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ivassile Ilia Vassilev
                  Reporter:
                  ivassile Ilia Vassilev
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: