For application clients, EJB components, and Web applications, you can define resource environment references and their properties. Resource environment references specify aliased JNDI names for JMS message queues and topics used by the application code.
Resource environment reference properties are of the form:
res-env-ref1, res-env-ref2, ...
Where res-env-ref1, res-env-ref2, and so forth are of the form:
(description=desc,jag-resource=link, res-env-ref-type=type,res-env-ref-name=jndi-name)
Where:
desc is an optional comment describing how the entry is to be set.
link is the name of either a queue connection factory or a topic connection factory, depending on the value of res-env-ref-type:
For javax.jms.Queue – queue connection factory
For javax.jms.Topic – topic connection factory
type is the resource type, which can be either:
javax.jms.Queue
javax.jms.Topic
jndi-name is the partial JNDI
name, relative to java:comp/env. Use
the prefix jms/ for JMS reference.
For example, if your code refers to java:comp/env/jms/MyQueue,
enter jms/MyQueue.
com.sybase.jaguar.applicationclient.resource-env-ref, com.sybase.jaguar.component.resource-env-ref, com.sybase.jaguar.webapplication.resource-env-ref
Copyright © 2005. Sybase Inc. All rights reserved. |