Re: [akka-user] Re: [Akka-streams] Cannot push port twice

2017-01-10 Thread Sergey Sopin
So, does it make sense? It seems it would be better to allow inlet be pullet once per outlet, not once at all. May be there is some existing solution for the problem above? - Sergey понедельник, 9 января 2017 г., 17:03:43 UTC+2 пользователь Sergey Sopin написал: > > Hi Endre, > > I am not

Re: [akka-user] Akka-HTTP: accessing the path in a rejection handler

2017-01-10 Thread Alan Burlison
> I added this to the docs in case it wasn't obvious at first sight: > https://github.com/akka/akka-http/pull/744 Works a treat, thank you :-) -- Alan Burlison -- -- >> Read the docs: http://akka.io/docs/ >> Check the FAQ: >>

Re: [akka-user] Akka-HTTP: accessing the path in a rejection handler

2017-01-10 Thread Konrad Malawski
Read up on the various directives available, like extractUnmatchedPath etc. Since handlers are simply Routes you can do whatever you want in there, including: .handleNotFound { extractUnmatchedPath { p ⇒ complete((NotFound, "The requested resource could not be found. Was: " + p)) } } I

[akka-user] Akka-HTTP: accessing the path in a rejection handler

2017-01-10 Thread Alan Burlison
I have a rejection handler that handles non-existent paths via handleNotFound. However I can't seem to find an obvious way of accessing the path in question so it can be displayed/logged by the handler. Is there a way? -- Alan Burlison -- -- >> Read the docs: http://akka.io/docs/

Re: [akka-user] Cassandra journal startup in a clustered environment

2017-01-10 Thread Patrik Nordwall
On Tue, Jan 10, 2017 at 4:32 AM, Jay Hsu wrote: > Hi, > > We are moving to use Cassandra as the akka persistence journal (was using > kafka but it is no longer supported for akka 2.4) > > Our application consists of multi-node akka cluster with singletons and > shardings. > >

Re: [akka-user] How to integrate customized endpoint in akka

2017-01-10 Thread Konrad Malawski
There's also an Akka Streams based integration available here: http://developer.lightbend.com/docs/alpakka/current/external-connectors.html#camel -- Konrad `ktoso` Malawski Akka @ Lightbend On 10 January 2017 at 08:32:11, Dai Yinhua

[akka-user] Re: How to integrate customized endpoint in akka

2017-01-10 Thread 'Michal Borowiecki' via Akka User List
Hi Dai, Have you had a look at http://doc.akka.io/docs/akka/current/java/camel.html yet? Cheers, Michal -- >> Read the docs: http://akka.io/docs/ >> Check the FAQ: >> http://doc.akka.io/docs/akka/current/additional/faq.html >> Search the archives: