Sorry for late reply. It should be possible to use AtLeastOnceDelivery together with DistributedPubSub.Send. The path for deliver is the path of the local DistributedPubSubMediator, and the destination path (without address) is included in the Send message.
Regards, Patrik On Mon, Nov 23, 2015 at 10:07 PM, sd d <[email protected]> wrote: > Hello, > > If i am not wrong, the UntypedPersistentActorWithAtLeastOnceDelivery > 'delivery' operation will only with ActorSelection or ActorPath and both > requires fairly full path of the destination actor > (akka.tcp://[email protected]:2550/user/subscriber1"). In our project > we use clustered actors and these actors use DistributedPubSubMediator.Send > and Put combination to send/receive messages for point to point communication. > > > We need to provide client side persistence and for this work do i need to > introduce any arbitrary Publisher between the PersistentSender and the > clustered Destination. > > > Example: > > Service A <--> PersistentEventSender (local) --> DistributedSendActor > (arbitary ) <====> Service B (DistDestination (uses Put method) > > > > I tried doing that but running into problems. However, If I give the > destination actor full path > (akka.tcp://[email protected]:2550/user/subscriber1") the client side > persistence works but all our actors communicate within one cluster and hard > coding target port doesn't make sense. > > > Let me know if any of used UntypedPersistentActorWithAtLeastOnceDelivery to > send message to any same clustered actor without specifying the full > destination path. > > > Thanks, > > SD > > -- > >>>>>>>>>> Read the docs: http://akka.io/docs/ > >>>>>>>>>> Check the FAQ: > http://doc.akka.io/docs/akka/current/additional/faq.html > >>>>>>>>>> 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/d/optout. > -- Patrik Nordwall Typesafe <http://typesafe.com/> - Reactive apps on the JVM Twitter: @patriknw -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> 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 https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
