<?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 Populating the properties section of Active MQ using SAS Code. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Populating-the-properties-section-of-Active-MQ-using-SAS-Code/m-p/747885#M234817</link>
    <description>&lt;P&gt;We are trying to develop a SAS data step program that can send &amp;nbsp;messages to ActiveMQ message broker following the method outlined at &lt;A href="https://documentation.sas.com/doc/en/itechcdc/9.4/appmsgdg/n0wbhc5unt28jkn1nctwvv4nlu4s.htm#n10a096lsdulpen12lxm828j2szc" target="_blank"&gt;SAS Help Center: FILENAME Statement: JMS Access Method&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The code that is being used is as follows.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
file 'sasjms' jms
jndiiCtxtFactory='org.apache.activemq.jndi.ActiveMQInitialContextFactory'
jndiProviderURL='failover:(tcp://tu-myhost-01:61616)?jms.prefetchPolicy.queuePrefetch=1&amp;amp;jms.connectionIDPrefix=Analytics'
connfactory='ConnectionFactory'
connopts='topic.sasjms=VirtualTopic.Repossessions';

/* Body of message*/
put "This is a test message.";

run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The message is successfully posted.&lt;BR /&gt;Is there a way the properties section can be populated using SAS Code as shown below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="thesasuser_0-1623691559637.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/60369iB08B7E27D97AAE27/image-size/medium?v=v2&amp;amp;px=400" role="button" title="thesasuser_0-1623691559637.png" alt="thesasuser_0-1623691559637.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Jun 2021 17:27:17 GMT</pubDate>
    <dc:creator>thesasuser</dc:creator>
    <dc:date>2021-06-14T17:27:17Z</dc:date>
    <item>
      <title>Populating the properties section of Active MQ using SAS Code.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Populating-the-properties-section-of-Active-MQ-using-SAS-Code/m-p/747885#M234817</link>
      <description>&lt;P&gt;We are trying to develop a SAS data step program that can send &amp;nbsp;messages to ActiveMQ message broker following the method outlined at &lt;A href="https://documentation.sas.com/doc/en/itechcdc/9.4/appmsgdg/n0wbhc5unt28jkn1nctwvv4nlu4s.htm#n10a096lsdulpen12lxm828j2szc" target="_blank"&gt;SAS Help Center: FILENAME Statement: JMS Access Method&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The code that is being used is as follows.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
file 'sasjms' jms
jndiiCtxtFactory='org.apache.activemq.jndi.ActiveMQInitialContextFactory'
jndiProviderURL='failover:(tcp://tu-myhost-01:61616)?jms.prefetchPolicy.queuePrefetch=1&amp;amp;jms.connectionIDPrefix=Analytics'
connfactory='ConnectionFactory'
connopts='topic.sasjms=VirtualTopic.Repossessions';

/* Body of message*/
put "This is a test message.";

run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The message is successfully posted.&lt;BR /&gt;Is there a way the properties section can be populated using SAS Code as shown below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="thesasuser_0-1623691559637.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/60369iB08B7E27D97AAE27/image-size/medium?v=v2&amp;amp;px=400" role="button" title="thesasuser_0-1623691559637.png" alt="thesasuser_0-1623691559637.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 17:27:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Populating-the-properties-section-of-Active-MQ-using-SAS-Code/m-p/747885#M234817</guid>
      <dc:creator>thesasuser</dc:creator>
      <dc:date>2021-06-14T17:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: Populating the properties section of Active MQ using SAS Code.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Populating-the-properties-section-of-Active-MQ-using-SAS-Code/m-p/747963#M234846</link>
      <description>&lt;P&gt;I haven't done this (what you're describing) before, but my general approach would be to&lt;/P&gt;
&lt;P&gt;a) Google to try to find a SAS example.&amp;nbsp; I assume you have already done this but didn't find what you needed.&lt;/P&gt;
&lt;P&gt;b) Failing an available SAS example, look up how it is done with&amp;nbsp;&lt;EM&gt;other &lt;/EM&gt;software.&lt;/P&gt;
&lt;P&gt;c)&amp;nbsp; Try to replicate with SAS how it is done with other software.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope that helps,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 20:53:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Populating-the-properties-section-of-Active-MQ-using-SAS-Code/m-p/747963#M234846</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2021-06-14T20:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: Populating the properties section of Active MQ using SAS Code.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Populating-the-properties-section-of-Active-MQ-using-SAS-Code/m-p/807825#M318545</link>
      <description>&lt;P&gt;This is best done in JAVA, C++ or python.,&lt;BR /&gt;Have a look here&amp;nbsp;&lt;A href="https://activemq.apache.org/using-activemq" target="_blank"&gt;https://activemq.apache.org/using-activemq&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2022 14:21:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Populating-the-properties-section-of-Active-MQ-using-SAS-Code/m-p/807825#M318545</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2022-04-14T14:21:51Z</dc:date>
    </item>
  </channel>
</rss>

