Created
December 9, 2013 12:57
-
-
Save ifsantos/7871897 to your computer and use it in GitHub Desktop.
Lookup external Weblogic context for JMS.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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