Closed romainneutron closed 11 years ago
I've finally added a script that picks the appropriated configuration to run examples.
Now, examples run as follow :
php stomp-basic.php rabbitmq
php stomp-basic.php apollo
If you do not provide anything or a wrong config name :
[ romain @MacBook ] php stomp-basic.php
Configuration `` does not exist, available configurations are : activemq, apollo, rabbitmq
Ex : /usr/bin/php stomp-basic.php rabbitmq
[ romain @MacBook ] php stomp-basic.php libellule
Configuration `libellule` does not exist, available configurations are : activemq, apollo, rabbitmq
Ex : /usr/bin/php stomp-basic.php rabbitmq
Nice, can we strip the stomp-
prefix altogether?
PR is up to date
ActiveMQ frames might start with a new-line caracter, producing an offset error in the parser.
Example of ActiveMQ frame :