Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> BUG in JAVA API for Advanced Queuing ?
Hi all,
concerning the message id of an enqueued message I get the following inconsistency:
I enqueue a message in a queue named "simdms_nd_technik" with the method
public void enqueue(CustomDatum data) throws Exception {
...
AQEnqueueOption enqueueOption = new AQEnqueueOption();
AQMessage message = queue.createMessage();
AQObjectPayload payload = message.getObjectPayload();
payload.setPayloadData(data);
byte[] msgId = this.queue.enqueue(enqueueOption, message);
System.out.println("MessageID = " + new String(msgId));
...
}
Calling this method with appropriate input results in the output line like:
MessageID = §8ϧ}<µà4
Checking the the message id in the queue simdms_nd_technik with the SQL Statement
select msgid from simdms_nd_technik;
results in
MSGID
Every hint appreciated.
michael Received on Fri Aug 02 2002 - 06:42:37 CDT