Questions tagged [event-bus]

Questions pertaining to Event Bus systems (e.g. GWT, otto, etc.).

Event Bus Systems have Event driven/distributed asynchronous architecture patterns. The advantages of these systems are that can be used with small to complex applications, enable creating highly scalable reactive applications and services can be independent, isolated and decoupled from each other. publish/subscribe system is possible by using an implementation of an event bus.

446 questions
12
votes
3 answers

Amazon EventBridge: Match an object inside of an array

I've stuck the problem with defining a rule for matching my events. Googled, tested. Let's say, we've the following event which contains the object user in the array events: { "version": "0", "...": "...", "detail": { "events":…
dobeerman
  • 1,354
  • 15
  • 27
12
votes
3 answers

RxJava as event bus?

I'm start learning RxJava and I like it so far. I have a fragment that communicate with an activity on button click (to replace the current fragment with a new fragment). Google recommends interface for fragments to communicate up to the activity…
Jimmy
  • 10,427
  • 18
  • 67
  • 122
11
votes
1 answer

Annotations vs. Interface in Guava EventBus

The Guava developers chose to use annotations: class EventBusChangeRecorder { @Subscribe void recordCustomerChange(ChangeEvent e) { recordChange(e.getChange()); } } ... instead of classic interfaces: class EventBusChangeRecorder…
deamon
  • 89,107
  • 111
  • 320
  • 448
11
votes
3 answers

Vue 3 Event Bus with Composition API

I have setup mitt and trying to dispatch event to another component but I am having hard time because in the setup() method it doesn't have this for accessing app instance. Here is what I tried: import App from './App.vue' const el =…
senty
  • 12,385
  • 28
  • 130
  • 260
11
votes
1 answer

Akka messaging mechanisms by example

I have a fair amount of Apache Camel (routing/mediation/orchestation engine; lightweight ESB) experience and am racking my brain trying to understand the difference between Akka: Dispatchers (Dispatcher, PinnedDispatcher,…
smeeb
  • 27,777
  • 57
  • 250
  • 447
11
votes
2 answers

Why is Guava issuing the error "missing event handler for an > annotated method"?

I'm getting the following error in one of my classes on the when attempting to unregister it. java.lang.IllegalArgumentException: missing event handler for an annotated method. Is [DerivedClass] registered?" at…
Jeff Axelrod
  • 27,676
  • 31
  • 147
  • 246
10
votes
1 answer

How to access `app.config.globalProperties` in a`