通过Spring Boot通过Stomp + SSL连接到Rabbitmq Broker

时间:2019-08-12 13:46:15

标签: java ssl rabbitmq stomp messagebroker

我想通过stomp和ssl连接到托管Rabbit MQ实例。如何在MessageBrokerRegistry中创建TCP连接?

<div class="pagination">
    {% if vehicles.has_previous %}
        <a href="?page=1">&laquo; first</a>
        <a href="?page={{ vehicles.previous_page_number }}{% if request.GET.q %}&q={{ request.GET.q }}{% endif %}">previous</a>
    {% endif %}
    <a href="#" class="active">Page {{ vehicles.number }} of {{ vehicles.paginator.num_pages }}</a>
    {% if vehicles.has_next %}
        <a href="?page={{ vehicles.next_page_number }}{% if request.GET.q %}&q={{ request.GET.q }}{% endif %}">next</a>
        <a href="?page={{ vehicles.paginator.num_pages }}{% if request.GET.q %}&q={{ request.GET.q }}{% endif %}">last &raquo;</a>
    {% endif %}
</div>

我希望使用MessageBrokerRegistry的.setTcpClient()方法,但我不知道如何创建客户端。

有人对此有解决方案吗?

0 个答案:

没有答案