Anybody successfully got MassTransit working with AppHarbor and CloudAMQP?
I am having a bear of a time with it.
I have the publisher (the web site) sending messages, but the server (a background worker) does not appear to be picking them up.
One of the things that concern me is that MT requires the rabbitmq scheme whereas CloudAMQP sets the scheme to amqp.
I am swapping the scheme (from amqp to rabbitmq) when configuring the bus and noticed the scheme in the addresses of the message is rabbitmq, which makes sense, since I replaced them. But I am wondering if they have to be amqp for the server to pick them up?
Here is a simple message that I have sent, it got to RabbitMQ but server is not picking it up.
message_id: 08cf2cbc-5b4f-14dd-1231-381f8b520000
delivery_mode: 2
headers:
Content-Type: application/vnd.masstransit+json
Payload
614 bytes
Encoding: string
{
"destinationAddress": "rabbitmq://98eabe2a-aae8-464c-8555-855518dd87d0_apphb.com:*********@lemur.cloudamqp.com/98eabe2a-aae8-464c-8555-855518dd87d0_apphb.com/Messages.Product:ProductCreatedEvent",
"headers": {},
"message": {
"id": "dd6ecfaa-60d2-4cd4-8cd6-a08a00e872fb"
},
"messageType": [
"urn:message:Messages.Product:ProductCreatedEvent"
],
"retryCount": 0,
"sourceAddress": "rabbitmq://98eabe2a-aae8-464c-8555-855518dd87d0_apphb.com:**********@lemur.cloudamqp.com/98eabe2a-aae8-464c-8555-855518dd87d0_apphb.com/enterprise_web"
}
Thanks, Joe
Edit: Thanks Carl pointing out the passwords in the url