Hi,

You have actor A on the client and the Destination on the server, and you
want to deliver messages between A and Destination via a Channel.
In-between you also have ClusterClient on the client side
and ClusterReceptionist on server side.

To handle the message wrapping on the client side you have to add another
actor in front of the ClusterClient, let us call this DestinationProxy.
The full chain looks like:
A -> Channel -> DestinationProxy -> ClusterClient -> ClusterReceptionist ->
Destination

1. A sends Deliver(msg, "destinationProxy") to the Channel.
2. The Channel sends ConfirmablePersistent(msg) to DestinationProxy
3. DestinationProxy wraps the ConfirmablePersistent in a
ClusterClient.Send("destination", confirmable) and sends it to the
ClusterClient
4. ClusterClient sends to ClusterReceptionist
5. ClusterReceptionist sends to Destination
6. Destination receives the ConfirmablePersistent, wrapping the original msg
7. Destination confirms

Is that what you are looking for?

Regards,
Patrik



On Fri, Jan 17, 2014 at 12:18 AM, Bobby Richards
<[email protected]>wrote:

> I am wondering if there is a way to use both the cluster client and the
> new akka persistence module.
>
> The problem that I see is that they both encapsulate the destination.
> Perhaps I have been looking at this too long and I am confused.
>
> I would like to remove the cluster client completely and just use on "flat
> cluster" however I am having some message loss issues that I am hoping to
> resolve first.
>
> To me it seems like they are doing very similar tasks, as both encapsulate
> the destination.
>
>
>
>
>  --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ: http://akka.io/faq/
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 

Patrik Nordwall
Typesafe <http://typesafe.com/> -  Reactive apps on the JVM
Twitter: @patriknw

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: http://akka.io/faq/
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to