I run service-mix in web container and I use org.apache.servicemix.components.jms.JmsReceiverComponent in WAS 6.1 but I get "javax.jms.IllegalStateException: Method setMessageListener not permitted" Error. When I searched it I found that "javax.jms.MessageConsumer method setMessageListener()" (which is used in JmsReceiverComponent) and some other methods may only be used by an application running in a client container -- in other words, they may never be called in the Web or EJB container: In below documents MDB usage is suggested.Is there a solution using Servixemix components? Any suggestions or workaround about the problem is appriciated. http://www-128.ibm.com/developerworks/java/library/j-getmess/ http://www-304.ibm.com/jct09002c/isv/tech/faq/individual.jsp?oid=1:80481 This message and attachments are confidential and intended solely for the individual(s) stated in this message. If you received this message although you are not the addressee, you are responsible to keep the message confidential. The sender has no responsibility for the accuracy or correctness of the information in the message and its attachments. Our company shall have no liability for any changes or late receiving, loss of integrity and confidentiality, viruses and any damages caused in anyway to your computer system. Bu mesaj ve ekleri, mesajda gonderildigi belirtilen kisi/kisilere ozeldir ve gizlidir. Bu mesajin muhatabi olmamaniza ragmen tarafiniza ulasmis olmasi halinde mesaj iceriginin gizliligi ve bu gizlilik yukumlulugune uyulmasi zorunlulugu tarafiniz icin de soz konusudur. Mesaj ve eklerinde yer alan bilgilerin dogrulugu ve guncelligi konusunda gonderenin ya da sirketimizin herhangi bir sorumlulugu bulunmamaktadir. Sirketimiz mesajin ve bilgilerinin size degisiklige ugrayarak veya gec ulasmasindan, butunlugunun ve gizliliginin korunamamasindan, virus icermesinden ve bilgisayar sisteminize verebilecegi herhangi bir zarardan sorumlu tutulamaz.
"javax.jms.IllegalStateException: Method setMessageListener not permitted"
Alper Sogukpinar \(Garanti Teknoloji\) Thu, 19 Oct 2006 05:53:49 -0700
- "javax.jms.IllegalStateExcepti... Alper Sogukpinar \(Garanti Teknoloji\)
- Re: "javax.jms.IllegalSta... Guillaume Nodet
- RE: "javax.jms.IllegalSta... Alper Sogukpinar \(Garanti Teknoloji\)
- Re: "javax.jms.Illega... Guillaume Nodet
