[openamq-dev] PAL examples

Carl Bourne cbourne at intellect.co.uk
Fri Mar 30 00:33:13 CEST 2007


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


More information about the openamq-dev mailing list