I have queue defined by this
[CODE]
<mbean code="org.jboss.jms.server.destination.QueueService"
name="jboss.messaging.destination:service=Queue,name=MyDurableQueue"
xmbean-dd="xmdesc/Queue-xmbean.xml">
<attribute name="JNDIName">queue/MyDurableQueue
</attribute>
<depends optional-attribute-name="ServerPeer">
jboss.messaging:service=ServerPeer</depends>
<depends>jboss.messaging:service=PostOffice
</depends>
<attribute name="Clustered">false</attribute>
</mbean>
[/CODE]
Here is how i am sending object message;
[CODE]
qFactory = (QueueConnectionFactory) getCtx().lookup("CF");
queueConnection = qFactory.createQueueConnection();
queueSession = queueConnection.createQueueSession(false, javax.jms.Session.AUTO_ACKNOWLEDGE);
queue = (Queue) getCtx().lookup("queue/" + getQueueName()); //queueSession.createQueue(getQueueName());
sender = queueSession.createSender(queue);
sender.send(createMessage(obj));
[/CODE]
This all works when i deploy it in all configuration with all services, but when i deploy it on default configuration without iiop and cluster and so on. my queue does not seems to work, i see no messages in the queue.