Hi, 

I'm running a simple http server:

Http().bindAndHandle(routes, config.getString("http.interface"), 
config.getInt("http.port"))

Here is my routes object:

val routes =
    get {
      path("reactive-inventory" / Segment) {
        sku =>
          //Send a callback to complete the response for this request to a 
Receptionist
          
completeWith[InventoryResponse](implicitly[ToResponseMarshaller[InventoryResponse]])
 
{
            completer: (InventoryResponse => Unit) =>
              receptionistRouter ! GetRequest(sku, completer)
          }
      }
    } ~
      put {
        path("reactive-inventory" / Segment / Segment) {
          (sku, quantity) =>
            //Send a callback to complete the response for this request to 
a Receptionist
            
completeWith[InventoryResponse](implicitly[ToResponseMarshaller[InventoryResponse]])
 
{
              completer: (InventoryResponse => Unit) =>
                receptionistRouter ! PutRequest(sku, quantity.toInt, 
completer)
            }
        }
      } ~ {
      complete {
        InventoryResponse(0, "", "", success = false, 0, "404- Route 
unknown")
      }
    }

And I'm seeing the following messages in my debug output:

[DEBUG] [06/01/2015 14:14:57.022] 
[ReactiveInventory-akka.actor.default-dispatcher-38] 
[akka://ReactiveInventory/user/$a/flow-52168-3-publisherSource-prefixAndTail] 
Cancelling 
akka.stream.impl.MultiStreamOutputProcessor$SubstreamOutput@50715a30 
(after: 5000 ms)

Can someone please explain what is going on here and how (or if I need to) 
correct this?

Thanks!

Dana

-- 
>>>>>>>>>>      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.

Reply via email to