Git Product home page Git Product logo

Comments (16)

masterjus avatar masterjus commented on July 30, 2024

Your service provider rewrites methods register and boot which are registered commands and so on. Remove them or call parent methods

from rabbitevents.

eckelarsson avatar eckelarsson commented on July 30, 2024

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.

masterjus avatar masterjus commented on July 30, 2024

Did you start to listen this event as it described here https://github.com/nuwber/rabbitevents#command-listen?

from rabbitevents.

eckelarsson avatar eckelarsson commented on July 30, 2024

Yes! And i see its running and connected to Rabbit.

from rabbitevents.

masterjus avatar masterjus commented on July 30, 2024

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.

eckelarsson avatar eckelarsson commented on July 30, 2024

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.

eckelarsson avatar eckelarsson commented on July 30, 2024

https://bitbucket.org/eriklarsson-velumi/rabbitmqtest/

from rabbitevents.

masterjus avatar masterjus commented on July 30, 2024

I've newer tested library this way as it not necessary. It may not work :-)

from rabbitevents.

eckelarsson avatar eckelarsson commented on July 30, 2024

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.

masterjus avatar masterjus commented on July 30, 2024

where are you firing event?

from rabbitevents.

eckelarsson avatar eckelarsson commented on July 30, 2024

the router web.php

from rabbitevents.

eckelarsson avatar eckelarsson commented on July 30, 2024

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.

masterjus avatar masterjus commented on July 30, 2024

image
the same application

from rabbitevents.

masterjus avatar masterjus commented on July 30, 2024

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.

eckelarsson avatar eckelarsson commented on July 30, 2024

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.

masterjus avatar masterjus commented on July 30, 2024

May I close the issue?

from rabbitevents.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.