> tpubserv.publish(topic, msg /*, DeliveryMode.PERSISTENT, > Message.DEFAULT_PRIORITY, Message.DEFAULT_TIME_TO_LIVE*/); > > 5. And finally i get this exception : > Exception in thread "main" java.lang.UnsupportedOperationException: > This > publish > method is only supported for unidentified TopicPublisher! That's right. There was a correction regarding JMS compliance on this issue. It is not allowed to use publish(topic...) when you create the publisher identified such as session.createPublisher(topic). Thus, you must create the publisher unidentified: session.createPublisher(null). -- Andreas Mueller, [EMAIL PROTECTED], IIT GmbH, Bremen/Germany, http://www.iit.de SwiftMQ, JMS Enterprise Messaging System, http://www.swiftmq.com ------------------------------------------------------ SwiftMQ developers mailing list * http://www.swiftmq.com To unsubscribe from this list, send an eMail to [EMAIL PROTECTED] and write in the body of your message: UNSUBSCRIBE developers <your-email-address> Archive: http://www.mail-archive.com/developers@mail.iit.de/