Jul 31
While creating a DurableSubscriber please do specify the client id before specifying a named consumer. Please have a look at the small code i wrote. Do remember to set the ClientID before creating a session from it. The clientID becomes null and immutable after the session is created. Also remember to give the same client id while creating a DurableSubscriber.

Share and Enjoy:
These icons link to social bookmarking sites where readers can share and discover new web pages.
Tags: IllegalStateException, JMS
Jul 31
Following yesterday’s sample code i wrote for P2P, here is an example code and configuration procedure of Topics in Weblogic 9.2. I have tried my best to do justice to the PDF I have created. Please go through and revert if i need to make some corrections.
Find the PDF here
And the code here. Publisher.java and Subscriber.java
Share and Enjoy:
These icons link to social bookmarking sites where readers can share and discover new web pages.
Tags: JMS example, onMessage not called, Publish subscribe, pubsub, Subscriber not receiving messages
Jul 31
Time is in IST



On the other hand, at the same timestamp, look at my del.icio.us.

Share and Enjoy:
These icons link to social bookmarking sites where readers can share and discover new web pages.
Tags: google, google goes down
Jul 31
I did this homework today. Just wanted to share it with you. I have uploaded the JMS Sender and the Receiver files and the JMS server in Weblogic 9.2 configuration procedure in a separate pdf file. You can find these files HERE
As for others who has reached this page after getting a NameNotFoundException — Unable to resolve destination queue, what you have to do is to configure a JMS server under Services –> Messaging and make your DestinationQueue (configured under SystemModule) a subdeployment of the JMSServer. Details of configuring is in the above mentioned PDF.
Share and Enjoy:
These icons link to social bookmarking sites where readers can share and discover new web pages.
Tags: jms in weblogic 9.2, NameNotFoundException, Queue
Jul 31
Interface inside an abstract class is static.
package com.nu;
public abstract class ClassInterface {
public interface Intrface{
public void m1();
}
}
And so is an Abstract class inside an interface
package com.nu;
public interface IntrfaceClass {
public abstract class AbstrClass{
public void m1(){
System.out.println("from m1");
}
}
}
Usage :
package com.nu;
public class ImplClass extends IntrfaceClass.AbstrClass implements ClassInterface.Intrface{
public static void main(String[] args) {
}
}
Share and Enjoy:
These icons link to social bookmarking sites where readers can share and discover new web pages.
Tags: inner class, inner interface, interface