Spring chapter 17.6 contains a tiny example, which doesn't work for me. The
server portion seems to receive a message from the client, but the client
blocks and never seems to get the result.
http://static.springframework.org/spring/docs/2.0.x/reference/remoting.html#remoting-jms
I have been suc
On 6/25/07, Gnanaprakash <[EMAIL PROTECTED]> wrote:
Hi,
I am running an embedded ActiveMQ 4.1.1 on Jboss 4.0.3. I am doing a stress
test with the following configuration.
Publisher
Threads - 3
Iterations per thread - 10
Sleep time between iterations - 500 ms
Consumer
Listener Thread - 1
Hi,
I am running an embedded ActiveMQ 4.1.1 on Jboss 4.0.3. I am doing a stress
test with the following configuration.
Publisher
Threads - 3
Iterations per thread - 10
Sleep time between iterations - 500 ms
Consumer
Listener Thread - 1
Durable Topic consumer.
broker configuration:
memor
Hi,
I just trim down the code, to let it send a file only. In this case, it
shows error pretty clear. Could you look at it for me ?
Here is the code of the RequestTool.java that send big file
//Start///
try {
activeMQSession = (ActiveMQSession)sessi
Tim Bish wrote:
>
> Creating a Java client to test with might help you rule out the if its
> the MDB or the C++ code that is faulty. Its just another Data Point to
> try and help figure out what's wrong.
>
I had a similar problem, using the Java client but it could easily be the
same issue.
Selon Timothy Bish <[EMAIL PROTECTED]>:
> [EMAIL PROTECTED] wrote:
> > Timothy Bish <[EMAIL PROTECTED]>:
> >
> >
> >> Have you tried casting the CMSException to the various types that you
> >> want to handle?
> >>
> >
> > You mean, using a dynamic_cast ? dynamic_cast needs RTTI too, I think, so
>
Can you post a piece of code like the one in your original post, but
including your cleanup code (I can't see the calls to dispose etc. in the
original post). I will compile it and run it on my set up (4.1.1 + some
fairly recent version of NMS) and see what happens.
Chris
--
View this message
[EMAIL PROTECTED] wrote:
Timothy Bish <[EMAIL PROTECTED]>:
Have you tried casting the CMSException to the various types that you
want to handle?
You mean, using a dynamic_cast ? dynamic_cast needs RTTI too, I think, so the
problem is the same than using typeid.
Not sure what you
Timothy Bish <[EMAIL PROTECTED]>:
> Have you tried casting the CMSException to the various types that you
> want to handle?
You mean, using a dynamic_cast ? dynamic_cast needs RTTI too, I think, so the
problem is the same than using typeid.
On 6/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi,
In the java code, when I catch error, I have the code: e.printStackTrace();
That is all error messages I have on the screen. Do you have any idea ?
I've never seen e.printStackTrace() not generate a stack trace. Are
you sure you're
Hi,
In the java code, when I catch error, I have the code: e.printStackTrace();
That is all error messages I have on the screen. Do you have any idea ?
I appreciate your help.
Thanks
James.Strachan wrote:
>
> On 6/23/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>>
>> I still h
Have you tried casting the CMSException to the various types that you
want to handle?
[EMAIL PROTECTED] wrote:
Hello
I'm using ActiveMQ-CPP 2.0.1. In my program, I want to handle exceptions thrown
by a Connection object, through its ExceptionListener, and act differently
depending on the type
Hello
I'm using ActiveMQ-CPP 2.0.1. In my program, I want to handle exceptions thrown
by a Connection object, through its ExceptionListener, and act differently
depending on the type of exception that occured.
So, I set my implementation of ExceptionListener for the Connection, so that
my impleme
2007/6/25, Jean-Fabrice [gmail] <[EMAIL PROTECTED]>:
Hi list,
I'm looking for a way to authenticate two brokers when they connect
(using tcp) to each other in a network of brokers topology.
I succeeded in the mutual authentication using SSL, storing each
broker certificate in the truststore of
James Strachan escribió:
On 6/25/07, Manuel Teira <[EMAIL PROTECTED]> wrote:
Hello.
I've found that the JMX exposed operation browseAsTable() for a Queue
MBean, is giving me access to already delivered and deleted messages of
the queue. I wonder if this is a bug, since those messages should be
On 6/25/07, Manuel Teira <[EMAIL PROTECTED]> wrote:
Hello.
I've found that the JMX exposed operation browseAsTable() for a Queue
MBean, is giving me access to already delivered and deleted messages of
the queue. I wonder if this is a bug, since those messages should be
stored somewere, producing
Hello.
I've found that the JMX exposed operation browseAsTable() for a Queue
MBean, is giving me access to already delivered and deleted messages of
the queue. I wonder if this is a bug, since those messages should be
stored somewere, producing undesired memory consumption.
I'm using amq 4.2
On 6/25/07, Jan Stette <[EMAIL PROTECTED]> wrote:
I'm currently trying to incorporate ActiveMQ 4.1.1 into a project (Java 6,
tested on Windows XP so far).
We're seeing a lot of cases in the logs where ActiveMQ is apparently
dropping and re-establishing connections. This is with only two JVMs,
r
Hi list,
I'm looking for a way to authenticate two brokers when they connect
(using tcp) to each other in a network of brokers topology.
I've followed http://activemq.apache.org/security.html but I can't
find a way to authenticate / authorize the broker. With such setup, I
got the following err
Hmm, very odd - taking out connection.Stop() and connection.Close() still
doesn't fix it for me.
Also connection.Dispose() just calls Close() anyway, so I'm not sure why
that fixed it for you either...
Dris wrote:
>
> Not really. Actually on looking at it I am closing and disposing of
> session
I'm currently trying to incorporate ActiveMQ 4.1.1 into a project (Java 6,
tested on Windows XP so far).
We're seeing a lot of cases in the logs where ActiveMQ is apparently
dropping and re-establishing connections. This is with only two JVMs,
running on a single host, "peer" transport, setting
Not really. Actually on looking at it I am closing and disposing of sessions
and consumers, and just disposing of producers and connections so I don't
have your connection.Stop and connection.Close in mine. I would be surprised
if that made a diff though. I had the issue until I added the
connecti
Hi Chris,
My shutdown code looks like this, but I still get the problem:
if (consumer != null)
{
consumer.Close();
consumer.Dispose();
}
if (session != null)
{
23 matches
Mail list logo