Skip to content

Instantly share code, notes, and snippets.

@ifsantos
Created December 9, 2013 12:57
Show Gist options
  • Save ifsantos/7871897 to your computer and use it in GitHub Desktop.
Save ifsantos/7871897 to your computer and use it in GitHub Desktop.
Lookup external Weblogic context for JMS.
Properties properties = new Properties();
properties.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
properties.put(Context.PROVIDER_URL, "t3://external.host.com:8001");
jndiContext = new InitialContext(properties);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment