KahaDB and backups

2011-05-31 Thread Steve Smith
Hi, How does KahaDB work with OS-level backups? Would a DB restored from tape be recoverable? On a related note, is it possible to snapshot a KahaDB? Cheers, Steve

Re: ActiveMQ: Advisory for MessageConsumed

2011-05-31 Thread Gary Tully
That seems like a bug. Can you open an issue with your test case. The advisory should be conditional on success of the transaction. On 31 May 2011 19:22, "karen" wrote: > Hi Brendan, > > I have set the listener container to session transacted. When an exception > is thrown in the listener, then sp

Re: Dead Letter Queue

2011-05-31 Thread rasitha
I'm not having any luck even with Auto Ack. I'm using Apache.NMS framework though. Messages do get to ProcessMessage method but when the exception is thrown, they don't get to DLQ. Do you know what I'm doing wrong here? class DeadLetterQueueTest { static void Main(string[] arg

RE: ActiveMQ integration with WebSphere MQ

2011-05-31 Thread andypiper
Sorry - I didn't mean to introduce yet more confusion, I was just wanting to encourage good practice/caution. There's no need for this to open any holes, there are ways of securing a SVRCONN channel via e.g. SSL - this is fine in native WMQ but I don't know whether the ActiveMQ bridging piece can d

RE: ActiveMQ integration with WebSphere MQ

2011-05-31 Thread peterjca
The client most definitely doesn't want a security hole opened up with a SVRCONN (the channel type you get by default when you don't specify the channel property at all on the MQ connection factory). Is there a secure bi-directional communication alternative between ActiveMQ and WMQ, or is the onl

Re: ActiveMQ: Advisory for MessageConsumed

2011-05-31 Thread karen
Hi Brendan, I have set the listener container to session transacted. When an exception is thrown in the listener, then spring rolls back the transaction. But the problem is that an advisory message is still sent to the consumed advisory topic( before the rollback). Thus giving an incorrect indica

RE: ActiveMQ integration with WebSphere MQ

2011-05-31 Thread andypiper
BTW WMQ client connections (via SVRCONN) are bi-directional. Sender/Receiver channels are unidirectional and set up in pairs between Queue Managers. HTH. -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-integration-with-WebSphere-MQ-tp3550031p3563911.html Sent from

RE: ActiveMQ integration with WebSphere MQ

2011-05-31 Thread andypiper
Ah I see, so this remote jmsBridgeConnector that Edan refers to would equate to what I described as "bridge code" - essentially using the WMQ JMS classes (you'll need the JAR containing com.ibm.mq.jms.MQQueueConnectionFactory of course) to make a separate connection over the network using the WMQ c

Re: ActiveMQ: Advisory for MessageConsumed

2011-05-31 Thread karen
Hi Aneesh There are many kinds of advisory messages that u can set up. Check this site out:- http://activemq.apache.org/advisory-message.html These are messages that activeMQ sends to specific topics about information on the producer/consumer etc. All you need to do is update the activemq conf f

RE: ActiveMQ integration with WebSphere MQ

2011-05-31 Thread peterjca
Hi Edan, I'm using ActiveMQ 5.5 and get WMQ complaints about remote channel not being of the correct type when I have the connection factory specify a channel property that corresponds to a receiver channel on WMQ. I posted on the Camel users group wondering if there was an abstraction available o

Re: ActiveMQ integration with WebSphere MQ

2011-05-31 Thread peterjca
Hi Andy, Thanks for your response. We're waiting to see if the client and/or their IBM support specialist can come up with a solution. Our application will both send (for a synchronous request/response -- yuck) and receive messages from them. The main problem is that their system is a mish mash o

RE: ActiveMQ integration with WebSphere MQ

2011-05-31 Thread Idzerda, Edan
ActiveMQ can talk to IBM's MQ via the "jmsBridgeConnectors" http://activemq.apache.org/jms-to-jms-bridge.html . There was a bug after AMQ 5.2.0 until 5.5 that prevented it, but I've tested it in 5.5 successfully. I defined a remote ConnectionFactory like so:

Re: Dead Letter Queue

2011-05-31 Thread Gary Tully
for clientAck, that is needed, have a look at: org.apache.activemq.ActiveMQMessageConsumer#dispatch The automatic dlq processing occurs if onMessage throws an exception, but it is bypassed for transactions and clientack mode as the acking is out of control of the consumer in that case. If you use

Re: Running 2 instances of AMQ on the same machine

2011-05-31 Thread rasitha
You can check the open ports in the machine and see if the port used by your second instance is used by another process. If you are in windows netstat -a -b will show you the port and the listening app. -- View this message in context: http://activemq.2283324.n4.nabble.com/Running-2-instances-of-

Re: Dead Letter Queue

2011-05-31 Thread rasitha1
Hi, Can you please expand a bit on this? "Typically you NAK a message by sending it to some bad message destination; i.e. you still consume it." I'm looking to use "individualDeadLetterStrategy" to separate failed messages into separate DLQs. But my client code (when using ClientAcknowledge mo

Re: Running 2 instances of AMQ on the same machine

2011-05-31 Thread teapot
Hi: Thanks for the response. We don't use AMQ console and didn't config conf/jetty.xml entry in AMQ config xml file. We embedded AMQ into our application and we do want to run more than 1 separate instance without any sharing. This is for some automated testing on the same machine so that the te

Re: activemqrc in user's home dir not being used?

2011-05-31 Thread Gary Tully
yep, that is a known issue that is resolved on trunk. http://svn.apache.org/viewvc?view=revision&revision=1088989 The ACTIVEMQ_OPTS var was evaluated before sourcing the user env. The current trunk version of the script will work as expected: http://svn.apache.org/viewvc/activemq/trunk/assembly/

activemqrc in user's home dir not being used?

2011-05-31 Thread Tommy Chheng
I'm using activemq 5.5 and the .activemqrc file is not being used. In the .activemqrc, I change the default MEMORY+OPTS env variables. # Set jvm memory configuration ACTIVEMQ_OPTS_MEMORY="-Xms512M -Xmx1024M" if [ -z "$ACTIVEMQ_OPTS" ] ; then ACTIVEMQ_OPTS="$ACTIVEMQ_OPTS_MEMORY -Dorg.apache.acti

Re: ActiveMQ integration with WebSphere MQ

2011-05-31 Thread andypiper
Indeed not - WebSphere MQ predates many of the other MOM technologies around and the sender/receiver channel can talk to other WMQ implementations at different versions, but not to ActiveMQ. On your comment about standards, bear in mind that JMS is an API spec and not a protocol / implementation t

Re: Keeping the messages in a queue or topic during a day

2011-05-31 Thread serious
@Gary Tully and Marcelo Jabali : thanks a lot for your answers. Indeed durable topics handle the reliability issue caused by subscribers shutting down. I have another requirement : I'd like that any new subscriber receives all the messages of a queue/topic posted during the whole day. Here is a s

Re: How to get back message data from SQL Server 2008

2011-05-31 Thread Gary Tully
that has to be done at the application level. The serialized jms message is stored as a blob of bytes. have a peek at: addMessage/getMessage of the persistence adapter impl to see the serialization etc: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/st

How to get back message data from SQL Server 2008

2011-05-31 Thread Scott
I have setup JDBC Persistence Adapter in MSSQL2008. And topic and queue information were successfully log into database. But i cant find a way to convert "ACTIVEMQ_MSGS.MSG" (image data type) value to plain text value. Is there a way to do on database level, or we have to retrieve those data and