[jboss-user] [JBoss Messaging] - Re: getting messages by the order they were sent

2008-05-12 Thread subrata_jboss
Thanks Tim It seems it was confusion created for few people using the same queue. So "Messages are coming in Order Only according to JMS spec" I have done a comparative study of JBM and ActiveMQ for past two month. And The Result is JBM Rocks.. We will use JBM for our project now. Thanks, Subra

[jboss-user] [JBoss Messaging] - Re: getting messages by the order they were sent

2008-05-12 Thread subrata_jboss
-->My producer is sending Message M1,M2,M3 to a queue /queue/q1 -->no consumer is running that time, so i see M1,M2,M3 in mysql data base. --> I started my producer to send messages M4,M5,M6 and at the same time i started my consumer too. --> So in the consumer i see the messages M4,M5,M6 firs

[jboss-user] [JBoss Messaging] - Re: getting messages by the order they were sent

2008-05-12 Thread subrata_jboss
Thanks Tim, I am using point to point model. So i am using queue (there is no durable subscriber) If we use Topic also for Durable then its same as Queue with persistance. So when my consumer is down it is getting saved in the database and the next time i am starting my consumer , i am abl

[jboss-user] [JBoss Messaging] - getting messages by the order they were sent

2008-05-08 Thread subrata_jboss
Hi , Can any body please help me in my problem... I am running producer to send 1 message in the queue and consumer is not running , so the data get saved in to the mysql data base i configured.and i stopped the producer. Now again i start producing data and in the mean time i started con

[jboss-user] [JBoss Messaging] - how to prevent others to deploy queue using MBeanServerConne

2008-04-02 Thread subrata_jboss
my problem is i have following program which others can write and deploy a queue in my machine ... public static void deployQueue(String queueName,InitialContext ic) throws Exception { MBeanServerConnection mBeanServer = lookupMBeanServerProxy(); ObjectName serverObjectName = new ObjectName( "j

[jboss-user] [Installation, Configuration & DEPLOYMENT] - how to prevent others to deploy queue using MBeanServerConne

2008-04-02 Thread subrata_jboss
my problem is i have following program which others can write and deploy a queue in my machine ... public static void deployQueue(String queueName,InitialContext ic) throws Exception { MBeanServerConnection mBeanServer = lookupMBeanServerProxy(); ObjectName serve

[jboss-user] [JBoss Messaging] - Re: changing destinations-service.xml does not bound/unbound

2008-03-28 Thread subrata_jboss
Thanks it works. But i am wondering if it cause any other problem if i move it to deploy directory. and also if several client using several queue , restarting all the queue will cause some problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139619#4139

[jboss-user] [JBoss Messaging] - Re: changing destinations-service.xml does not bound/unbound

2008-03-27 Thread subrata_jboss
i missed one important line to include "automatically i.e with out restart of jboss server" in mq it bound/unbound automatically and immediately but not jboss messaging. Here it needs restart. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139533#4139533 R

[jboss-user] [JBoss Messaging] - Re: Authentication of producers & consumers in jboss messagi

2008-03-27 Thread subrata_jboss
okey it seems it wont come. please add security config part for any queueu View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139244#4139244 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139244 ___

[jboss-user] [JBoss Messaging] - Re: Authentication of producers & consumers in jboss messagi

2008-03-27 Thread subrata_jboss
dont know why the lower part are not coming , though ia m pasting every time. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139242#4139242 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139242 __

[jboss-user] [JBoss Messaging] - Re: Authentication of producers & consumers in jboss messagi

2008-03-27 Thread subrata_jboss
sorry the destination file entry should be jboss.messaging:service=ServerPeer jboss.messaging:service=PostOffice View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139241#4139241 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=

[jboss-user] [JBoss Messaging] - Re: Authentication of producers & consumers in jboss messagi

2008-03-27 Thread subrata_jboss
it worked. you need to change three file. messaging-users.properties and add # user=role1,role2,... ConsoleUser=password messaging-roles.properties and add # user=role1,role2,... ConsoleUser=ConsoleAdmin and destinations-service.xml and add jboss.messaging:service=ServerPeer jboss.messaging:ser

[jboss-user] [JBoss Messaging] - changing destinations-service.xml does not bound/unbound que

2008-03-27 Thread subrata_jboss
I am using jboss-messaging-1.4.0.SP2 When i change destinations-service.xml file to an entry for queue and save it. It does not bound/unbound here (as i dont see logger in the jboss console) ! but jboss mq does it. Is there any configuration change that we need to do here in Jboss Messaging or

[jboss-user] [JNDI/Naming/Network] - JNDI look up in two different ways? whats the difference, ad

2008-03-21 Thread subrata_jboss
while sending message to queue by http we can populate context in two different ways? 1) Properties p = new Properties(); p.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); p.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces"); p.put(Context.PROVIDE

[jboss-user] [JBoss Messaging] - Different ways of populating Context for sending message ??

2008-03-21 Thread subrata_jboss
while sending message to queue by http we can populate context in two different ways? 1) Properties p = new Properties(); p.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); p.p

[jboss-user] [Messaging, JMS & JBossMQ] - Re: Not able to configure HTTPS jboss-4.2.2.GA for sending

2008-03-13 Thread subrata_jboss
yes , but it simply not working. https://192.168.114.86:8443 is also not working. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136511#4136511 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136511 __

[jboss-user] [Messaging, JMS & JBossMQ] - Not able to configure HTTPS jboss-4.2.2.GA for sending mess

2008-03-06 Thread subrata_jboss
Hi folks, I have two client program. SenderHTTPQueue.java import java.util.Properties; import javax.jms.Connection; import javax.jms.ConnectionFactory; import javax.jms.Destination; import javax.jms.JMSException; import javax.jms.Message; import javax.jms.ObjectMessage; import javax.jms.Messag