This is an automated email from the ASF dual-hosted git repository.

robbie pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-protonj2.git


The following commit(s) were added to refs/heads/main by this push:
     new 524fd3d  PROTON-2390: fix direction indicator on incoming protocol 
headers
524fd3d is described below

commit 524fd3d1cff0ebdbfa69f722ce2942bba2aafc15
Author: Robbie Gemmell <robbie.gemm...@gmail.com>
AuthorDate: Wed May 26 13:06:01 2021 +0100

    PROTON-2390: fix direction indicator on incoming protocol headers
---
 .../apache/qpid/protonj2/engine/impl/ProtonFrameLoggingHandler.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/protonj2/src/main/java/org/apache/qpid/protonj2/engine/impl/ProtonFrameLoggingHandler.java
 
b/protonj2/src/main/java/org/apache/qpid/protonj2/engine/impl/ProtonFrameLoggingHandler.java
index ba391eb..6c0ad51 100644
--- 
a/protonj2/src/main/java/org/apache/qpid/protonj2/engine/impl/ProtonFrameLoggingHandler.java
+++ 
b/protonj2/src/main/java/org/apache/qpid/protonj2/engine/impl/ProtonFrameLoggingHandler.java
@@ -69,10 +69,10 @@ public class ProtonFrameLoggingHandler implements 
EngineHandler {
     @Override
     public void handleRead(EngineHandlerContext context, HeaderEnvelope 
envelope) {
         if (traceFrames) {
-            trace(envelope.isSaslHeader() ? SASL_OUT_PREFIX : AMQP_OUT_PREFIX, 
uniqueIdentifier, 0, envelope.getBody(), null);
+            trace(envelope.isSaslHeader() ? SASL_IN_PREFIX : AMQP_IN_PREFIX, 
uniqueIdentifier, 0, envelope.getBody(), null);
         }
 
-        log(envelope.isSaslHeader() ? SASL_OUT_PREFIX : AMQP_OUT_PREFIX, 
uniqueIdentifier, 0, envelope.getBody(), null);
+        log(envelope.isSaslHeader() ? SASL_IN_PREFIX : AMQP_IN_PREFIX, 
uniqueIdentifier, 0, envelope.getBody(), null);
 
         context.fireRead(envelope);
     }

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org
For additional commands, e-mail: commits-h...@qpid.apache.org

Reply via email to