|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jmsmq.MSMQQueueFactory
Factory of connections to MSMQ servers. Microsoft® Message Queuing Server. This class use JNI interfaces over the "jmsmq.dll" library. This library has to have visibility from the environment "PATH" variable of the execution of the application that use this project
| Constructor Summary | |
MSMQQueueFactory(java.lang.String msmqServer)
Constructor of MSMQQueueFactory. |
|
| Method Summary | |
MSMQQueue |
createQueue(MQ_QUEUE_TYPE eQueueType,
java.lang.String queueName,
MQ_XACT_TYPE eXAct)
Methdo that create a queue in the MSMQ server references by this factory |
void |
deleteQueue(MSMQQueue queue)
Method that delete the queue in the MSMQ server references by this factory |
MSMQQueueEnumerator |
enumPrivateQueues()
Method that recovery a private queue enumerator from the MSMQ server references by this factory |
java.lang.String |
getMSMQServer()
Method that returns the MSMQ server name references by this factory |
MSMQQueue |
lookupQueue(MQ_QUEUE_TYPE eQueueType,
java.lang.String queueName)
Method that search a queue into the MSMQ server references by this factory |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MSMQQueueFactory(java.lang.String msmqServer)
throws java.net.UnknownHostException
MSMQQueueFactory.
msmqServer - MSMQ Server host
java.net.UnknownHostException - Throw if an exception occurs when trying to locate MSMQ host| Method Detail |
public MSMQQueue createQueue(MQ_QUEUE_TYPE eQueueType,
java.lang.String queueName,
MQ_XACT_TYPE eXAct)
throws MSMQException,
MSMQMaxLenPropertyException
eQueueType - Queue typequeueName - Queue nameeXAct - Queue transactional type
MSMQException - Throw if an exception occurs when creates the queue
MSMQMaxLenPropertyException - Throw if a name overflows the max size for a queue name
public void deleteQueue(MSMQQueue queue)
throws MSMQException
queue - Referece to queue to delete
MSMQException - Throw if an exception occurs when deletes the queue
public MSMQQueue lookupQueue(MQ_QUEUE_TYPE eQueueType,
java.lang.String queueName)
throws MSMQException
eQueueType - Queue typequeueName - Queue name
MSMQException - Throw if an exception occurs when searchs the queue
public MSMQQueueEnumerator enumPrivateQueues()
throws MSMQException
MSMQException - Throw if an exception occurs when creates the private queue enumeratorpublic java.lang.String getMSMQServer()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||