title: JMS / ActiveMQ: Sending an object with objects as class members
body: <p>I'm using ActiveMQ (with Spring) for sending messages to remote OSGi-Container.
  This works very fine, but there is one issue.</p>
  
  <p>I got two classes implementing Serializable. One class is the class member of the other class, like this:</p>
  
  <pre><code>public class Member implements Serializble {
  private int someValue;
  private static final long serialVersionUID = -4329617004242031635L;
  ... }
  
  public class Parent implements Serializable {
      private static final long serialVersionUID = -667242031635L;
  private double otherValue;
  private Member;
  }
  </code></pre>
  
  <p>So, when is send a Parent instance, the Member of the Parent is null.</p>
  
  <p>Hope you understand what my problem is :)</p>
  
  <p>Edit: funny issue: I got a java.util.date in my class which is serialized correctly, but this is the only thing, all Doubles etc are null</p>