my phpMQTT class :
?php
/*
phpMQTT
A simple php class to connect/publish/subscribe to an MQTT broker
*/
/*
Licence
Copyright (c) 2010 Blue Rhinos Consulting | Andrew Milsted
and...@bluerhinos.co.uk | http://www.bluerhinos.co.uk
Permission is
my active mq log file after run subscribe:
2015-07-01 14:51:17,162 | INFO | Refreshing
org.apache.activemq.xbean.XBeanBrokerFactory$1@56553e: startup date [Wed Jul
01 14:51:17 IRDT 2015]; root of context hierarchy |
org.apache.activemq.xbean.XBeanBrokerFactory$1 | main
2015-07-01 14:51:17,992
I Try With v5.12 Snapshot But activemq console give me laste error :
WARN : Transport Connection to :tcp://127.0.0.1:18967
failed:java.io.IOExeption:Unexpected error
occurred:java.lang.ArrayIndexOutOfBoundsException :12
That 12 in Above Error Equal With Topic Character That I Enter
I Download ActiveMQ Broker v5.11.1 And Run It (Use MQTT). I Can Publish And
Subscribe With Websocket PHP For Publish And Broker Work Well.
But When Use PHP for subscribe Broker Console Give Me This ERROR And Dont
Subscribe Topic
WARN : Transport Connection to :tcp://127.0.0.1:18967
My project is very important and because of this problem it has been down. I
asked many times from supporters, the answered once but it didn't help me. I
really need to know how to solve the problem.
I appreciate it if anybody can help.
--
View this message in context:
I use https://github.com/sskaje/mqtt Lib And It Work With Activemq Broker
Very Well
--
View this message in context:
http://activemq.2283324.n4.nabble.com/ActiveMQ-MQTT-crash-when-subscribe-tp4698367p4699314.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.