Uploaded image for project: 'ActiveMQ Apollo (Retired)'
  1. ActiveMQ Apollo (Retired)
  2. APLO-370

Durable subscriptions can not work sometimes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Do
    • 1.7
    • None
    • apollo-mqtt
    • None
    • centos 6.5

    Description

      I use durable subscriptions for mqtt. when the client connected and subscripted, sometimes receive message from dsub, sometimes not receive message(at this time dsub has messages, unless the client disconnect and reconnect) .

      my config is:
      <broker xmlns="http://activemq.apache.org/schema/activemq/apollo" validation="strict">

      <log_category console="console" security="security" connection="connection" audit="audit"/>

      <authentication domain="apollo"/>
      <access_rule allow="admins" action="*"/>
      <access_rule allow="*" action="connect" kind="connector"/>

      <auto_gc interval="60" />

      <virtual_host id="yey">
      <host_name>localhost</host_name>
      <host_name>127.0.0.1</host_name>

      <access_rule allow="apps" action="connect create receive consume"/>
      <access_rule allow="mgts" action="connect create send receive consume"/>

      <dsub tail_buffer="10k" full_policy="drop head" auto_delete_after="0" quota="102400"/>
      <leveldb_store directory="/data/apollo/data"/>

      </virtual_host>

      <web_admin bind="http://localhost:61680"/>

      <connector id="tcp" bind="tcp://0.0.0.0:1883" protocol="mqtt">
      <mqtt max_message_length ="10240" />
      </connector>
      <key_storage file="${apollo.base}/etc/keystore" password="password" key_password="password"/>

      </broker>

      Attachments

        Activity

          People

            Unassigned Unassigned
            wanged wanged
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: