09.12.2012 Views

Advanced Queuing - Oracle

Advanced Queuing - Oracle

Advanced Queuing - Oracle

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Creating a Queue Table<br />

Creating a Queue Table<br />

env.put(Context.PROVIDER_URL, "ldap://sun-456:389");<br />

env.put(Context.SECURITY_AUTHENTICATION, "simple");<br />

env.put(Context.SECURITY_PRINCIPAL, "cn=db1aquser1,cn=acme,cn=com");<br />

env.put(Context.SECURITY_CREDENTIALS, "welcome");<br />

ctx = new InitialDirContext(env);<br />

ctx =<br />

(DirContext)ctx.lookup("cn=<strong>Oracle</strong>DBQueues,cn=db1,cn=<strong>Oracle</strong>context,cn=acme,cn=com<br />

");<br />

topic_1 = (topic)ctx.lookup("cn=topic_1");<br />

Figure 13–13 Creating a Queue Table<br />

User/<br />

Program<br />

JMS Administrative Interface<br />

CREATING a Queue Table<br />

CREATE<br />

a Queue<br />

Table<br />

specify<br />

Owner<br />

specify<br />

Queue<br />

Table Name<br />

specify<br />

Queue Table<br />

Property<br />

- AQjmsSession :<br />

13-28 <strong>Oracle</strong>9i Application Developer’s Guide - <strong>Advanced</strong> <strong>Queuing</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!