Bonjour,
J'ai créer un fichier properties pour JNDI et on me dit qu'il ne trouve pas le nom que je passe en paramètre
java.naming.factory.initial = org.apache.activemq.jndi.ActiveMQInitialContextFactory
# use the following property to configure the default connector
java.naming.provider.url = tcp://localhost:61616
# use the following property to specify the JNDI name the connection factory
# should appear as.
connectionFactoryNames = connectionFactory
String.Restriction1 = R1
String.Restriction2 = R2
restrictionMessage = (String) context.lookup(Restriction1 );
Merci de votre aide