<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ActiveMQ JMS connection in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/ActiveMQ-JMS-connection/m-p/160634#M14852</link>
    <description>&lt;P&gt;Because you have browse mode enabled. Browsing &lt;STRONG&gt;does not&lt;/STRONG&gt; dequeue messages. And you have the frequency at -1 , so essentially it is in a constant browsing state of the same 9 messages.&lt;/P&gt;</description>
    <pubDate>Tue, 13 May 2014 11:25:01 GMT</pubDate>
    <dc:creator>Damien_Dallimor</dc:creator>
    <dc:date>2014-05-13T11:25:01Z</dc:date>
    <item>
      <title>ActiveMQ JMS connection</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/ActiveMQ-JMS-connection/m-p/160633#M14851</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;
I'm able to make a connection and also pool/browse messages from the queue.&lt;BR /&gt;
My configuration is very similar to what described here :&lt;BR /&gt;
&lt;A href="http://blogs.splunk.com/2013/04/11/splunking-websphere-mq-queues-and-topics/" target="_blank"&gt;http://blogs.splunk.com/2013/04/11/splunking-websphere-mq-queues-and-topics/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;from inputs.conf&lt;/P&gt;

&lt;P&gt;[jms://queue/:dynamicQueues/TestQ2]&lt;/P&gt;

&lt;P&gt;browse_mode = all&lt;/P&gt;

&lt;P&gt;browse_queue_only = 1&lt;/P&gt;

&lt;P&gt;durable = 0&lt;/P&gt;

&lt;P&gt;index_message_header = 1&lt;/P&gt;

&lt;P&gt;index_message_properties = 1&lt;/P&gt;

&lt;P&gt;init_mode = jndi&lt;/P&gt;

&lt;P&gt;jms_connection_factory_name = ConnectionFactory&lt;/P&gt;

&lt;P&gt;jndi_initialcontext_factory = org.apache.activemq.jndi.ActiveMQInitialContextFactory&lt;/P&gt;

&lt;P&gt;jndi_provider_url = tcp://192.168.1.10:61616&lt;/P&gt;

&lt;P&gt;sourcetype = syslog&lt;/P&gt;

&lt;P&gt;strip_newlines = 1&lt;/P&gt;

&lt;P&gt;browse_frequency = -1&lt;/P&gt;

&lt;P&gt;destination_user = &lt;/P&gt;

&lt;P&gt;index = main&lt;/P&gt;

&lt;P&gt;But I have some strange phenomena :&lt;/P&gt;

&lt;P&gt;Let say I have 9 messages in Queue called TestQ2.&lt;/P&gt;

&lt;P&gt;When I run source="jms://queue/:dynamicQueues/TestQ2"&lt;/P&gt;

&lt;P&gt;I've got 9,890 events .&lt;/P&gt;

&lt;P&gt;When I filtered it with&lt;/P&gt;

&lt;P&gt;source="jms://queue/:dynamicQueues/TestQ2"|dedup event_id&lt;/P&gt;

&lt;P&gt;I got 9 events.&lt;/P&gt;

&lt;P&gt;Please assist.&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Dmitry&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:34:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/ActiveMQ-JMS-connection/m-p/160633#M14851</guid>
      <dc:creator>dimitryz</dc:creator>
      <dc:date>2020-09-28T16:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: ActiveMQ JMS connection</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/ActiveMQ-JMS-connection/m-p/160634#M14852</link>
      <description>&lt;P&gt;Because you have browse mode enabled. Browsing &lt;STRONG&gt;does not&lt;/STRONG&gt; dequeue messages. And you have the frequency at -1 , so essentially it is in a constant browsing state of the same 9 messages.&lt;/P&gt;</description>
      <pubDate>Tue, 13 May 2014 11:25:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/ActiveMQ-JMS-connection/m-p/160634#M14852</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2014-05-13T11:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: ActiveMQ JMS connection</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/ActiveMQ-JMS-connection/m-p/160635#M14853</link>
      <description>&lt;P&gt;Hello Damien,&lt;BR /&gt;
and thank you for an answer.&lt;BR /&gt;
I understand the point ,but what if I can't consume message ,I need only browse existing messages.&lt;BR /&gt;
If I understand right this is what you mean when you use dequeue ?&lt;BR /&gt;
When I change frequency to higher value,I see the same issue,but much slowly.&lt;BR /&gt;
There are plenty of tools for browse (HermesJMS for example)&lt;BR /&gt;
but I would like to offer to our client to use Splunk for JMS too.&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Dmitry&lt;/P&gt;</description>
      <pubDate>Tue, 13 May 2014 14:03:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/ActiveMQ-JMS-connection/m-p/160635#M14853</guid>
      <dc:creator>dimitryz</dc:creator>
      <dc:date>2014-05-13T14:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: ActiveMQ JMS connection</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/ActiveMQ-JMS-connection/m-p/160636#M14854</link>
      <description>&lt;P&gt;If you can't consume the message , and you have to use a queue (vs a topic) , then I suggest you use mirrored queues : &lt;A href="http://activemq.apache.org/mirrored-queues.html"&gt;http://activemq.apache.org/mirrored-queues.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Then you can turn off browse mode and consume directly from that mirror queue and you'll only get 1 copy of each message indexed in Splunk.&lt;/P&gt;

&lt;P&gt;Dequeue = take off the queue&lt;BR /&gt;
Enqueue = put on the queue&lt;/P&gt;</description>
      <pubDate>Tue, 13 May 2014 14:25:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/ActiveMQ-JMS-connection/m-p/160636#M14854</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2014-05-13T14:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: ActiveMQ JMS connection</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/ActiveMQ-JMS-connection/m-p/160637#M14855</link>
      <description>&lt;P&gt;Hello ! This post is great ! &lt;/P&gt;

&lt;P&gt;I need know something, how can i create the?&lt;/P&gt;

&lt;P&gt;jms_connection_factory_name &amp;amp; jndi_initialcontext_factory&lt;/P&gt;

&lt;P&gt;Any documentation fot this objects?&lt;/P&gt;

&lt;P&gt;Regards in advance !&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 17:04:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/ActiveMQ-JMS-connection/m-p/160637#M14855</guid>
      <dc:creator>nettrigger</dc:creator>
      <dc:date>2020-09-28T17:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: ActiveMQ JMS connection</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/ActiveMQ-JMS-connection/m-p/160638#M14856</link>
      <description>&lt;P&gt;ActiveMQ have good documentation : &lt;A href="http://activemq.apache.org/jndi-support.html"&gt;http://activemq.apache.org/jndi-support.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2014 02:36:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/ActiveMQ-JMS-connection/m-p/160638#M14856</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2014-07-15T02:36:39Z</dc:date>
    </item>
  </channel>
</rss>

