[
https://issues.apache.org/jira/browse/AMQNET-817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17944282#comment-17944282
]
ASF subversion and git services commented on AMQNET-817:
--------------------------------------------------------
Commit 02349e8ec4b30d4d61c68cbfe10711804ca4ab87 in activemq-nms-amqp's branch
refs/heads/main from Andreas Ländle
[ https://gitbox.apache.org/repos/asf?p=activemq-nms-amqp.git;h=02349e8 ]
AMQNET-817 - Ability to configure hostname
> Add ability to configure hostname/vhost in AMQP Open frame
> ----------------------------------------------------------
>
> Key: AMQNET-817
> URL: https://issues.apache.org/jira/browse/AMQNET-817
> Project: ActiveMQ .Net
> Issue Type: New Feature
> Components: AMQP
> Affects Versions: AMQP-2.0.0
> Reporter: Dan Langford
> Priority: Major
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> The AMQP protocol supports "virtual hosts" implemented via the Open frame,
> the HostName field.
> QPID Broker-J default hostname/vhost is "default". RabbitMQ default
> hostname/vhost is "/". The current implementation reuses the URI host which
> is quite often not correct.
> > open.HostName = remoteUri.Host;
> There should be a way to set the "hostname" or "virtual host"
> In the amqpnetlite client it is set like this
> {{_connection = await Connection.Factory.CreateAsync(new Address(Address),
> new Open() \{ HostName="default"});}}
> {{ }}
> One way to implement this could be a connection uri parameter much like QPID
> JMS Client does with *amqp.vhost* option
> [https://qpid.apache.org/releases/qpid-jms-2.1.0/docs/index.html]
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact