BookmarkSubscribeRSS Feed
BigRider
Obsidian | Level 7

Hi Fellows !

 

I´m trying to test a connection to a message broker from ACTIVE_MQ using the example in running from a SAS Studio session on SAS Vyia 3.4.

 

SAS Documentation

 

data null;
file 'myq' jms
jndiiCtxtFactory='org.apache.activemq.jndi.ActiveMQInitialContextFactory'
jndiProviderURL='tcp://192.168.8.23:61616'
connfactory='ConnectionFactory'
connopts='queue.myq=myq';
put 'This is a test message';
run;

However, I´m obtaining the following error:

 

ERROR 23-2: Invalid option name JNDIICTXTFACTORY.
 
Is it missing any componenet of SAS Installation or should I have to fix any sintax in my code? 
 
Is it work in SAS Vyia like 9.4 ?
 
this is the clearest example wich I found, If someone other example how to connect and get a message from a ACTIVE_MQ queue is welcome.
 
Thank in advance,
2 REPLIES 2
unison
Lapis Lazuli | Level 10

Looks like JNDIICTXTFACTORY isn't recognized. Could it be called JNDICONTEXTFACTORY? or JNDICONNECTIONFACTORY?

 

Just some ideas.

 

-unison

-unison
BigRider
Obsidian | Level 7

All the options are invalid and this is the standard sintax of the documentation example. Maybe, I´m missing something.

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 665 views
  • 0 likes
  • 2 in conversation