我正在尝试通过java(jms)连接到分片队列,但是我发现此错误((JMS-122:必须指定内部错误有效负载对象类型)尝试在此行AQQueue qqueue = aq_sess.getQueue("owner","sharded_queue_name");
任何解决方案??
代码:
Connection connection = DriverManager.getConnection(
"jdbc:oracle:thin:@ip:port/servicename",
"username",
"password");
AQSession aq_sess = AQDriverManager.createAQSession(connection);
AQQueue qqueue = aq_sess.getQueue("owner","sharded_queue_name");