-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Labels
good first issueGood for newcomersGood for newcomers
Description
Hi, I am following the sample to read messages from stomp using wss because the server I need to get the messages dosn't support tcp.
I manage to connect but I always get null in the body.
Looks like the subscription of the queue is not working or something else that i can't figure out.
$stompFrame = new Frame();
$connectFrame = $stompFrame->setLogin($this->ss['login'], $this->ss['password'])
->setHeartBeat(0, 10000)->getConnect();
$subscribeFrame = $stompFrame->getSubscribe($this->ss['queue']);
$client = new Client($this->ss['host']);
$client->text($connectFrame);
$client->text($subscribeFrame);
You sure the way to inject the suscribe queue is using $client=text('name of queue')
Please any advice more than welcome
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers