Re: Fail to reconnect to AMQ queues after restarting the broker

2009-02-02 Thread Michal Singer
Great, it helped. thanks. Dejan Bosanac wrote: > > Hi, > > if you put just one broker URL inside the failover transport URI, like > > failover:(tcp://localhost:61616) > > the client will try to reconnect to that broker in case that connection > dies. > > Regards > -- > Dejan Bosanac > > Op

Re: Configuring MarshallerFactory in .NET

2009-02-02 Thread Timothy Bish
The CSharpGeneratorTask and associated classes were intended only as a way to create .Net representations of the OpenWire commands used to communicate between the Java and .Net client. To send you own .Net objects to an Java client or Java to .Net you will need to perform some sort of Transformati

Re: Configuring MarshallerFactory in .NET

2009-02-02 Thread dougly
I basically have a need to send an object thru OpenWire to activeMQ. The C# code files were generated by CSharpGeneratorTask. I hope you could provide me any link to documentation regarding this I appreciate. Doug semog wrote: > > Hi Doug, > > I'm not quite sure what your ultimate goal is,

Re: is ISession thread safe?

2009-02-02 Thread Jim Gomes
It looks like you have entered JIRA AMQNET-136 ( https://issues.apache.org/activemq/browse/AMQNET-136) for this problem. Thanks! - Jim On Wed, Jan 21, 2009 at 11:30 AM, sbs1982 wrote: > > ++ > > MSDN talking about lock(this) > > http://msdn.microsoft.

Re: Heavy Disk Write?

2009-02-02 Thread mkeenan
mkeenan wrote: > > Regardless of persistence setting, the hard disk is hammered non-stop with > read/write requests while the Apologies for responding to myself. I am using NMS 1.1 with Spring.NET 1.2.1 and it looks like I did not understand the behavior of the default message handlers (in Sp

Heavy Disk Write?

2009-02-02 Thread mkeenan
I am using ActiveMQ 5.2 (also tried 5.3) on Windows XP with the default out-of-the-box configuration. I have a small test program with one producer and one consumer. The producer puts 500 text messages on a queue with a tiny payload (~32 bytes). The consumer (a message listener) reads the messa

Re: Configuring MarshallerFactory in .NET

2009-02-02 Thread Jim Gomes
Hi Doug, I'm not quite sure what your ultimate goal is, but your code looks like it is trying to configure the wire protocol to use OpenWire. If that is the case, you don't need all that advanced code. You can use the NMSConnectionFactory object and pass in a URI string that configures your wire

Re: [Apache.NMS.ActiveMQ]using FailoverTransport

2009-02-02 Thread Jim Gomes
Thanks for the info on your test results. That's an important note about the failover uri syntax. I will use that info as I look into a separate report that the failover uri parsing is failing on Mono. On 1/31/09, wangchao wrote: > > Thank you for your suggestion,semog. > I tested the code

memoryUsage vs Heap

2009-02-02 Thread AD
Hello, I get a lot of OutOfMem errors when the producers submit a very high number of messages. I tried tweaking memoryUsage to a lower number to force spooling to disk but it does not appear to help. It could also be the consumers are requesting items too quickly (not sure yet). Is there a p

Re: What can be the reason ?

2009-02-02 Thread Eric-AWL
I just see that it's strange that the first error just has messageCount=500 in the first case, and just 1500 in the second ! Eric-AWL Eric-AWL wrote: > > Hi everybody > > In 4.1.2. > > I developped a queuing and multi-threaded mechanism just behind JMS > listener : each time a message come

Re: Fail to reconnect to AMQ queues after restarting the broker

2009-02-02 Thread Dejan Bosanac
Hi, if you put just one broker URL inside the failover transport URI, like failover:(tcp://localhost:61616) the client will try to reconnect to that broker in case that connection dies. Regards -- Dejan Bosanac Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.ma

Re: Fail to reconnect to AMQ queues after restarting the broker

2009-02-02 Thread Michal Singer
Hi, the failover transport lets you load balance clients over a number of brokers. However, i have one broker and i don't need any more brokers. I want the client to be able to reconnect to the same broker once it is up again. How can i do that? Thanks, Michal Dejan Bosanac wrote: > > Hi, >

can one give me full implementation of spring,java,activemq based example

2009-02-02 Thread jimmy007
Plz do help me i need a example so that i can understand this technology a whole. using spring based complete configuration in xml file with broker configured in it having two endpoints as queue. 1. inputQueue 2. outputQueue and a seprate conusmer and producers those are attached to the broker w

Re: Fail to reconnect to AMQ queues after restarting the broker

2009-02-02 Thread Dejan Bosanac
Hi, take a look at failover transport http://activemq.apache.org/failover-transport-reference.html you should use this transport on the client side to enable successful reconnection. Cheers -- Dejan Bosanac Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.mannin

Re: Broker sends empty body in STOMP ObjectMessage (using jms-json transformation)

2009-02-02 Thread Dejan Bosanac
Great! I'm looking forward to it. Cheers -- Dejan Bosanac Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Sun, Feb 1, 2009 at 2:39 PM, mjustin wrote: > > Problem solved, spelled transformation id wrongly a