Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- queueReceiver = ((AQjmsSession) queueSession).
- createReceiver(queue, XMLType.getORADataFactory());
- public Object getObject() throws Exception {
- QueueConnection queueConnection = connectionFactory.createQueueConnection();
- AQjmsSession session = (AQjmsSession) queueConnection.createQueueSession(true,
- Session.SESSION_TRANSACTED);
- Map map = session.getTypeMap();
- map.put("SYS.XMLTYPE", Class.forName("oracle.xdb.XMLTypeFactory"));
- return session.getQueue(queueUser, queueName);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement