packages feed

amqp 0.2.8 → 0.2.9

raw patch · 2 files changed

+5/−6 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

Network/AMQP.hs view
@@ -309,15 +309,14 @@ -- | stops a consumer that was started with 'consumeMsgs' cancelConsumer :: Channel -> ConsumerTag -> IO () cancelConsumer chan consumerTag = do-    --unregister the consumer-    modifyMVar_ (consumers chan) $ \c -> return $ M.delete consumerTag c-         (SimpleMethod (Basic_cancel_ok consumerTag')) <- request chan $ (SimpleMethod (Basic_cancel         (ShortString consumerTag) -- consumer_tag         False -- nowait         ))-    -    return ()  ++    --unregister the consumer+    modifyMVar_ (consumers chan) $ \c -> return $ M.delete consumerTag c+  -- | @publishMsg chan exchangeName routingKey msg@ publishes @msg@ to the exchange with the provided @exchangeName@. The effect of @routingKey@ depends on the type of the exchange -- 
amqp.cabal view
@@ -1,5 +1,5 @@ Name:                amqp
-Version:             0.2.8
+Version:             0.2.9
 Synopsis:            Client library for AMQP servers (currently only RabbitMQ)
 Description:         Client library for AMQP servers (currently only RabbitMQ)
 License:             BSD3