repejota / phpnats

A PHP client for the NATSio cloud messaging system.

Home Page:http://nats.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get subject for wildcard event

MadDevPro opened this issue · comments

Hi everyone, I've some trouble to get the subject in a pub/sub case. The fact is when i use getSubject I recive the INBOX id.
I recive this message : ["MSG","event.obj.54274265","42d6881fd413c459862c7b18689e74f9","_INBOX.60ec0b2e4eea3","62\r\n"]

In he message handler is instanciate with the inbox and not the subject. I had try to change the index with the real subject but I've got an infiny loop....

There is any one solution to get the subject in the inbox nats ?

I hope, there is some devs on this project.

Thank's for your help !