def publish(self,address,body,deliveryOption=None)
publish is working as a send because message json is having type as send, it should be publish
Current code is
message=json.dumps({'type':'send','address':address,'headers':headers,'body':body,})
Changed code would be
message=json.dumps({'type':'publish','address':address,'headers':headers,'body':body,})
def publish(self,address,body,deliveryOption=None)publish is working as a send because message json is having type as send, it should be publish
Current code is
message=json.dumps({'type':'send','address':address,'headers':headers,'body':body,})Changed code would be
message=json.dumps({'type':'publish','address':address,'headers':headers,'body':body,})