Re: problem while sending concurrent messages to ActiveMQ Jms Queue

2009-01-21 Thread manish_goyal
Hi, Can anyone please reply :-):-) Thanks, Mansih -- View this message in context: http://www.nabble.com/problem-while-sending-concurrent-messages-to-ActiveMQ-Jms-Queue-tp21577948p21598333.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

problem while sending concurrent messages to ActiveMQ Jms Queue

2009-01-20 Thread manish_goyal
Hi, I am getting error while sending concurrent messages to ActiveMQ JMS queue. My service is sending multiple message to ActiveMQ JMS queue concurrently.When i m sending more then 3 times concurrently then only i am getting this error. If i send message for only two times or less then, it is

Re: problem while using xpath in eip-router

2009-01-14 Thread manish_goyal
Hi, More clear picture of my scenario is:- I am getting message with soap-env in ActiveMQ queue. from there message is getting consume by jms consumer. Jms consumer is sending this message to eip-router . Using xpath-splitter in eip-router i am extracting some elements of message and routing

Can we define more then one target for eip-content based router

2008-12-01 Thread manish_goyal
Hi, I have a scenario where i need to route message to two different queue, if it satisfy some conditions. eip:routing-rule eip:predicate eip:xpath-predicate xpath=//ns2:Code1/text() ='1001' namespaceContext=#nsContext/ /eip:predicate eip:target

how to send a jms message from a webservice to JMS queue

2008-11-26 Thread manish_goyal
Hi, I am using a scenario where i am sending a message to ActiveMQ queue. I am creating a service unit which is consuming that message from the queue using WSDL and WebService, and i am updating the message in this serviceunit. From the service-unit i want to send that message to another JMS

How to split values using log4j .properties

2008-11-24 Thread manish_goyal
Hi, I am using log4j.properties file to log data into database. I am setting multiple values in a JAVA file using Logger.info(“value”). In log4j.properties file, when I am using %m to insert values in database, it’s inserting all values in a single column. Is there any way to split values

Can we define multiple Logger instance in a single class file?

2008-11-23 Thread manish_goyal
Hi, Could any one tell me how to create multiple Logger instance in a single class? Is this possible? If it is possible then what will be the value for ?. Logger myLogger = Logger.getLogger(?); in java file. and for referring the same Logger instance in log4j.properties file, how we will be

Error while loading OracleDriver

2008-11-19 Thread manish_goyal
Hi, I am sending message to JMS queue using java application. From there i am using log4j.properties file for logging message to File and Database. I have added ojdbc.jar and JDBCAppender.jar file in dependency. I am able to log in to file, but for DataBase i am getting following error:-

problem with JDBC logging

2008-11-14 Thread manish_goyal
I have configured log4j.properties file for JDBC and File logging. I am able to log data in file and database. But in database, data is not in appropriate format. I am setting four parameters, all these parameter is going to only one column. i am setting like this in my java program:-

how can we access java object variable in xpath, ActiveMQ

2008-11-14 Thread manish_goyal
Hi, I am sending java object to ActiveMQ JMS queue after converting it into SOAP message then SOAP message to textmessage. When i am trying to use xpath for checking variable value, i am getting following error:- [Fatal Error] :1:1: Content is not allowed in prolog. WARN - XPathPredicate

Can we route one message from queue to two different queues

2008-11-13 Thread manish_goyal
Hi, I want to know, can we route one message from queue to two different queues. Thanks Manish -- View this message in context: http://www.nabble.com/Can-we-route-one-message-from-queue-to-two-different-queues-tp20494138p20494138.html Sent from the ActiveMQ - User mailing list archive at

Getting error while sending JAVA Objcet to ActiveMQ JMS queue

2008-11-12 Thread manish_goyal
Hi, I am getting following error while sending JAVA object to ActiveMQ JMS queue. I am first converting object to SOAP message and then ByteArrayOutputStream. [Fatal Error] :1:1: Content is not allowed in prolog. ERROR - JmsComponent - Error processing exchange InOut[ id:

Unmarshlling SOAP message to JAVA object

2008-11-11 Thread manish_goyal
Hi, I have send a JAVA Object to JMS after converting it to the SOAP message. Using following code:- MessageFactory mf = MessageFactory.newInstance(); /* * Create a SOAP message object.*/ SOAPMessage soapMessage = mf.createMessage();

log4j.xml file configuration

2008-11-10 Thread manish_goyal
Hi, I need help to configure log4j.xml file to log the message from ActiveMQ JMS queue to File. My Java Application will be sending one JAVA object to ActiveMQ JMS queue, I need to configure log4j.xml file to log the method of the JAVA object to the file. I am very new to log4j file

help need in servicemix and activeMQ

2008-11-08 Thread manish_goyal
Hi, I need help regarding servicemix and activeMQ. I have a java application which sends a message to ActiveMQ JMS queue. When i start activeMQ and run that java application, it goes to ActiveMQ JMS queue successfully. I can see message in JMS queue using webconsole. But when i stop ActiveMQ

problem while sending message to ActiveMQ JMS queue

2008-11-07 Thread manish_goyal
Hi, I am trying to send one String message to ActiveMQ JMS queue using JAVA application, but it's not showing in JMS queue. my JAVA client program is as follows:- import javax.jms.Connection; import javax.jms.MessageConsumer; import javax.jms.MessageProducer; import javax.jms.Session; import

ActiveMQ JMS message and servicemix

2008-11-06 Thread manish_goyal
Hi, Please give some pointers for GUI or tool to see the ActiveMQ JMS message. I need to check message when servicemix is start. Please reply my soon. Thanks Manish -- View this message in context: http://www.nabble.com/ActiveMQ-JMS-message-and-servicemix-tp20357952p20357952.html Sent

JMSAppender configuration

2008-11-06 Thread manish_goyal
Hi, I need to configure my log4j.xml file to log into ActiveMQ JMS queue. I have configured my java class file as logger using following settings:- static Logger myLogger = Logger.getLogger(MyClass.class.getName()); myLogger.setLevel(Level.INFO); myLayout= new SimpleLayout(); myAppender= new

help need in configuring scenario

2008-11-06 Thread manish_goyal
Hi, I have a scenario in which I have a JAVA Application. JAVA application create a object and send that object to ActiveMQ JMS queue. Now from JMS queue, using log4j.xml file i need to extract the data from the object and send that data to file. Program flow:- JAVA Application --- ActiveMQ