Quantcast
Channel: Akka Libraries - Discussion Forum for Akka technologies
Viewing all articles
Browse latest Browse all 1365

How to create a priority based mailbox for an Akka actor [Java]

$
0
0

Hello!

I want to prioritize by message type the order of the messages that will be read from the message queue by an Actor.

For example:

First Int message will be processed.

Then String type message will be processed.

There is a Scala example of exactly the same thing I want to implement in Java:

Can you help please with a Java code example?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 1365

Trending Articles