$ mosquitto_pub -t 'test/topic' -h 12.34.56.78 --will-topic 'dead/topic' --will-qos 0 --will-payload 'deadpayload' -l
=INFO REPORT==== 17-Nov-2016::01:33:15 ===
MQTT accepting TCP connection <0.5170.0> (87.65.43.21:55613 -> 10.0.0.164:1883)
=INFO REPORT==== 17-Nov-2016::01:33:15 ===
accepting MQTT connection <0.5170.0> (87.65.43.21:55613 -> 10.0.0.164:1883)
$ mosquitto_sub -t '#' -h 12.34.56.78 -v
dead/topic deadpayload
=INFO REPORT==== 17-Nov-2016::01:27:15 ===
MQTT detected network error for "87.65.43.21:63542 -> 10.0.0.164:1883": peer closed TCP connection
var host = '12.34.56.78';var port = 15675;var path = '/ws';var clientId = 'mqttPahoTest';
var client = new Paho.MQTT.Client(host, port, path, clientId);
var lastWill = new Paho.MQTT.Message('deadwspayload');lastWill.destinationName = 'dead/topic/ws';lastWill.qos = 0;lastWill.retained = false;
client.connect({ keepAliveInterval: 60, useSSL: false, willMessage: lastWill, onSuccess: function() { console.log('onConnected'); }});=INFO REPORT==== 17-Nov-2016::02:15:09 ===
accepting Web MQTT connection <0.25643.0> (87.65.43.21:56428 -> 10.0.0.164:15675)
=INFO REPORT==== 17-Nov-2016::02:18:00 ===
closing WEB-MQTT connection <0.25643.0> (87.65.43.21:56428 -> 10.0.0.164:15675)
[
{kernel, [
]},
{rabbit, [
{cluster_nodes, {[], disc}},
{cluster_partition_handling,ignore},
{tcp_listen_options, [binary, {packet,raw},
{reuseaddr,true},
{backlog,128},
{nodelay,true},
{exit_on_close,false},
{keepalive,false},
{linger, {true,0}}]},
{log_levels, [{ connection, debug }]},
{default_user, <<"admin">>},
{default_pass, <<"adminMe">>},
{heartbeat, 580}
]}
,{rabbitmq_mqtt, [
{default_user, <<"admin">>},
{default_pass, <<"adminMe">>},
{allow_anonymous, true},
{vhost, <<"/">>},
{exchange, <<"amq.topic">>},
{subscription_ttl, 3600},
{prefetch, 10},
{ssl_listeners, []},
{tcp_listeners, [1883]},
{tcp_listen_options, [
{backlog, 128},
{nodelay, true}
]}
]}
].
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.