FUSE Message Broker
  1. FUSE Message Broker
  2. MB-955

ActiveMQ visualization plugin creates dot files that throw syntax errors in Windows version of Graphviz, causing them not to be able to be viewed

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 5.5.0-fuse-00-53
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Similar Issues:
      Show 10 results 

      Description

      Hi,

      Per the Visualization Guide Graphviz can be used to read the generated .dot files from ActiveMQ when using this plugin:

              <plugins>
                      <connectionDotFilePlugin />
                      <destinationDotFilePlugin />
              </plugins>
      
      

      The .dot files generated by ActiveMQ can be opened on the Mac using Graphviz but not on Windows. Opening the Connection file results in the following error:

      working on C:/sue/Fuse/activemq/5.5.0/apache-activemq-5.5.0-fuse-00-53/apache-activemq-5.5.0-fuse-00-53/bin/ActiveMQConnections.dot
      Error: <gvedit>:3: syntax error near line 3
      context: label="ActiveMQ Broker: >>> ID:VMSJAVUREK-1209-1315430177788-0:1"] <<< ;
      Warning: <gvedit>:11: ambiguous "-1_" splits into two names: "-1" and "_"
      Warning: <gvedit>:12: ambiguous "-1_" splits into two names: "-1" and "_"
      Warning: <gvedit>:13: ambiguous "-1_" splits into two names: "-1" and "_"

      I can work around this by editing the file and removing the "=" in line 3, e.g.

      label="ActiveMQ Broker: ID:VMSJAVUREK-1209-1315430177788-0:1"];
      

      The destination file out of the box works ok but not for the customer who actually has destinations configured.

      working on Z:/VMShare/prod-895/ActiveMQDestinations.dot
      Error: <gvedit>:21: syntax error near line 21
      context: queue_Root_queue_xpath > >>> queue_Root_queue_xpath_CM <<< ASM-NOTF;
      Warning: The use of "subgraph temp", line 61, without a body is deprecated.
      This may cause unexpected behavior or crash the program.
      Please use a single definition of the subgraph within the context of its parent graph "ActiveMQ Destinations"
      Warning: The use of "subgraph temp", line 101, without a body is deprecated.
      This may cause unexpected behavior or crash the program.

      I'm afraid I don't see what's wrong with this one.

      Please use a single definition of the subgraph within the context of its parent graph "ActiveMQ Destinations"

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Susan Javurek
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: