activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From orpiske <...@git.apache.org>
Subject [GitHub] activemq-artemis issue #1464: Implement support for intercepting additional ...
Date Wed, 16 Aug 2017 08:28:38 GMT
Github user orpiske commented on the issue:

    https://github.com/apache/activemq-artemis/pull/1464
  
    Sample output from running the modified Interceptor example:
    
    ```
    server-out:MQTT Interceptor gets called 
    server-out:A MQTT control packet was intercepted CONNACK
    server-out:MQTT Interceptor gets called 
    server-out:A MQTT control packet was intercepted CONNECT
    server-out:A MQTT CONNECT control packet was intercepted MqttConnectMessage[fixedHeader=MqttFixedHeader[messageType=CONNECT,
isDup=false, qosLevel=AT_MOST_ONCE, isRetain=false, remainingLength=34], variableHeader=MqttConnectVariableHeader[name=MQIsdp,
version=3, hasUserName=false, hasPassword=false, isWillRetain=false, isWillFlag=false, isCleanSession=true,
keepAliveTimeSeconds=30], payload=MqttConnectPayload[clientIdentifier=7f000001d5e85993fe7f,
willTopic=null, willMessage=null, userName=null, password=null]]
    Connected to Artemis
    server-out:MQTT Interceptor gets called 
    server-out:A MQTT control packet was intercepted SUBSCRIBE
    Subscribed to topics.
    server-out:MQTT Interceptor gets called 
    server-out:A MQTT control packet was intercepted PUBLISH
    server-out:Original message: This is message 1
    server-out:MQTT Interceptor gets called 
    server-out:A MQTT control packet was intercepted PUBLISH
    server-out:Original message: Modified message 
    server-out:MQTT Interceptor gets called 
    server-out:A MQTT control packet was intercepted PUBREC
    server-out:MQTT Interceptor gets called 
    server-out:A MQTT control packet was intercepted PUBREL
    server-out:MQTT Interceptor gets called 
    server-out:A MQTT control packet was intercepted PUBCOMP
    Sent message
    Received message: Modified message 
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message