@mick if you are still after this, you could try this code. It works for me:
conf = %{
:container_id => <<"test-container">>,
:address => 'abc-shankardevy.servicebus.windows.net',
:port => 5671,
:hostname => <<"abc-shankardevy.servicebus.windows.net">>,
:tls_opts => {:secure_port,[]},
:sasl =>
{:plain,<<"QUEUENAME">>,
<<"keykey">>},
:transfer_limit_margin => 100
}
{:ok, conn} = :amqp10_client.open_connection(conf)
{:ok, session} = :amqp10_client.begin_session(conn)
{:ok, sender } = :amqp10_client.attach_sender_link(session, "test-sender", "command")
out_msg = :amqp10_msg.new("my-tag", "my-body", false)
ok = :amqp10_client.send_msg(sender, out_msg)