[openamq-dev] PAL examples

Carl Bourne cbourne at intellect.co.uk
Fri Mar 30 11:29:35 CEST 2007


Martin,

This is from one our developers working on this project

I assume we can change this behavior somewhere?

Carl

========================================================================
=============================
Carl

Okay got it working with their c (compile script), I still need to work
out all the linker commands they use in their script so we can compile
it through an IDE. We need to do this if we want to add our own
functionality.

The sender and receiver doesn't work the way I thought it would.

If you start the sender ( send a file onto the queue ) then start the
receiver it doesn't retrieve any files.

But if you start the receiver ( waiting for a file ) then start the
sender the receiver gets the file.

This seems pointless as if your receiver goes down and the senders send
loads of files you will loss them.

Sure there must be a setting somewhere.
========================================================================
=====================





-----Original Message-----
From: openamq-dev-bounces at lists.openamq.org
[mailto:openamq-dev-bounces at lists.openamq.org] On Behalf Of Carl Bourne
Sent: 30 March 2007 09:10
To: OpenAMQ development discussion
Subject: RE: [openamq-dev] PAL examples

Martin,

Further to my previous posting - I tried running the OpenAMQ server on a
dedicated platform (rather than VMWare) I can now transfer up to about
100MB successfully, although I notice the heartbeat slowing message. If
I increase the file size to 120Mb it stops the clients again.

I assume the default optimization is not particularly good for use with
larg files?

Regards,

Carl 

-----Original Message-----
From: openamq-dev-bounces at lists.openamq.org
[mailto:openamq-dev-bounces at lists.openamq.org] On Behalf Of Carl Bourne
Sent: 29 March 2007 23:33
To: OpenAMQ development discussion
Subject: RE: [openamq-dev] PAL examples

Thanks again Martin - both example compiled OK as per your suggestion.

Do I need to adjust any of the servers parameters for sending large
files? I can send file through up to about 20MB. Anything much larger
seems to kill the client connections.

========================================================================
============
2007-03-28 07:47:21: I: cnn=2 msg=1 mem=165834K/0K exc=8 que=1 csm=1
bnd=2 adx=0 idx=8 map=0
2007-03-28 07:47:22: I: qcn=1 cnq=1
2007-03-28 07:47:26: W: client heartbeat slowing (127.0.0.1:57198,
OpenAMQ Kernel Client, 1.2c1, send_file)
2007-03-28 07:47:29: W: client heartbeat stopped (127.0.0.1:57198,
OpenAMQ Kernel Client, 1.2c1, send_file) - disconnected
2007-03-28 07:47:21: I: cnn=2 msg=1 mem=165834K/0K exc=8 que=1 csm=1
bnd=2 adx=0 idx=8 map=0
2007-03-28 07:47:22: I: qcn=1 cnq=1
2007-03-28 07:47:26: W: client heartbeat slowing (127.0.0.1:57198,
OpenAMQ Kernel Client, 1.2c1, send_file)
2007-03-28 07:47:29: W: client heartbeat stopped (127.0.0.1:57198,
OpenAMQ Kernel Client, 1.2c1, send_file) - disconnected
2007-03-28 07:48:22: W: client heartbeat slowing (127.0.0.1:57199,
OpenAMQ Kernel Client, 1.2c1, receive_file)
2007-03-28 07:48:24: W: client heartbeat stopped (127.0.0.1:57199,
OpenAMQ Kernel Client, 1.2c1, receive_file) - disconnected
2007-03-28 07:48:27: I: cnn=0 msg=0 mem=0K/0K exc=8 que=1 csm=0 bnd=0
adx=0 idx=8 map=0


========================================================================
=


Carl


-----Original Message-----
From: openamq-dev-bounces at lists.openamq.org
[mailto:openamq-dev-bounces at lists.openamq.org] On Behalf Of Martin
Sustrik
Sent: 29 March 2007 16:18
To: OpenAMQ development discussion
Subject: Re: [openamq-dev] PAL examples

Carl,

The easiest way is to use our build system. You have to have your 
environment set in the same way as you do when building OpenAMQ. Then 
it's sufficient to:

c -l send_file.c

The build system will link it with appropriate libraries automatically. 
You can also use -v parameter with the command that will result in 
detailed output from building process. There you'll see which libraries 
are being linked.

Martin

Carl Bourne wrote:
> Martin,
> 
> Are there any other libraries other than the OpenAMQP (Wire API)
client
> libraries that need to be linked when compiling these examples?
> 
> Carl
> 
> -----Original Message-----
> From: openamq-dev-bounces at lists.openamq.org
> [mailto:openamq-dev-bounces at lists.openamq.org] On Behalf Of Martin
> Sustrik
> Sent: 29 March 2007 14:31
> To: OpenAMQ development discussion
> Subject: Re: [openamq-dev] PAL examples
> 
> Hi Carl,
> 
>> Any limits on file size - or can I assume the 4gb limit as
documented?
> 
> Yes, the limit should be 4GB.
> 
>> Might be worth considering support in PAL for file transfer in the
>> future - would be great for prototyping and demo's.
> 
> Good idea. We'll try to add that to PAL for the next release.
> 
> Martin
> _______________________________________________
> openamq-dev mailing list
> openamq-dev at lists.openamq.org
> http://lists.openamq.org/mailman/listinfo/openamq-dev
> _______________________________________________
> openamq-dev mailing list
> openamq-dev at lists.openamq.org
> http://lists.openamq.org/mailman/listinfo/openamq-dev

_______________________________________________
openamq-dev mailing list
openamq-dev at lists.openamq.org
http://lists.openamq.org/mailman/listinfo/openamq-dev
_______________________________________________
openamq-dev mailing list
openamq-dev at lists.openamq.org
http://lists.openamq.org/mailman/listinfo/openamq-dev
_______________________________________________
openamq-dev mailing list
openamq-dev at lists.openamq.org
http://lists.openamq.org/mailman/listinfo/openamq-dev


More information about the openamq-dev mailing list