phpnats icon indicating copy to clipboard operation
phpnats copied to clipboard

Get subject for wildcard event

Open MadDevPro opened this issue 4 years ago • 0 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 !

MadDevPro avatar Jul 12 '21 14:07 MadDevPro