Comments (16)
Your service provider rewrites methods register
and boot
which are registered commands and so on. Remove them or call parent methods
from rabbitevents.
Thank you, that did the trick! I removed the register and boot. Now I can see that the application register that listens. I see in RabbitMQ that application is connected and active.
But it seems that when I fire the event, i see that RabbitMQ receives the message but the EventLogger listener doesn't pick it up and like you can see log the event and payload in my log file.
Is there something more I need to in the provider to make it work?
from rabbitevents.
Did you start to listen this event as it described here https://github.com/nuwber/rabbitevents#command-listen?
from rabbitevents.
Yes! And i see its running and connected to Rabbit.
from rabbitevents.
Do you have a repositories for your code? It's hard to troubleshoot without visualization.
Do you try to send and handle event in the same application?
from rabbitevents.
For now yes, im sending and handle in the same application, just for testing. I'll upload the repo so you can see.
from rabbitevents.
https://bitbucket.org/eriklarsson-velumi/rabbitmqtest/
from rabbitevents.
I've newer tested library this way as it not necessary. It may not work :-)
from rabbitevents.
Aha okey :) its supposed to work between applications so thats the goal, this is me just testing. Ill will do a real test between to application.
Got it to work "ish" it recives sometimes and sometimes not. But that can do with that its not constructed in that way.
from rabbitevents.
where are you firing event?
from rabbitevents.
the router web.php
from rabbitevents.
Tried it between two applications now, and it works great!! Thanks for all your help man.
If you dont have any inputs on the code?
from rabbitevents.
from rabbitevents.
If you dont have any inputs on the code?
don't understand what you mean
BTW I've just released the new version.
from rabbitevents.
Yeah, i saw that! Great with the new features!
I mean, if there anything in the setup that I've missed.
It worked in the same application, but it's inconsistent. If you send 10 events you receive about 6-7.
from rabbitevents.
May I close the issue?
from rabbitevents.
Related Issues (20)
- Question about graceful restarting. HOT 5
- Write more information on Exception Ocurred
- When the listener starts without an event name then with large numbers of events it returns an error HOT 3
- Your application doesn't have any registered broadcast events HOT 11
- Can't install this package HOT 1
- Need example files
- Do payloads have to be JSON? HOT 8
- [QUESTION]: Deploying to productioin HOT 5
- Support php 8 HOT 3
- Config not properly read HOT 2
- sync or dummy driver for testing environment HOT 5
- ShouldBeUnique Support HOT 12
- exception Illuminate\Container\EntryNotFoundException when try using command HOT 4
- Configuration file is ignored
- Add protobuf as the transporting content-type
- Add option --message-ttl HOT 2
- Handlers could be executed twice after a Message release
- Worker stoped after 3 tries with error: "[INFO] Worker has been stopped with the status code 1"
- Connection option is not working HOT 1
- Horizon Support HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rabbitevents.