You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by Carl Trieloff <cc...@redhat.com> on 2009/01/15 14:34:19 UTC
qpid-config & some ideas.
I see that Ted has edited this page and wanted to call out a few things.
It looks like we can now configure any queue & exchange option
via qpid-config, these include:
http://qpid.apache.org/mgmtc.html
Add Queue Options:
--durable Queue is durable
--cluster-durable Queue becomes durable if there is only one functioning cluster node
--file-count N (8) Number of files in queue's persistence journal
--file-size N (24) File size in pages (64Kib/page)
--max-queue-size N Maximum in-memory queue size as bytes
--max-queue-count N Maximum in-memory queue size as a number of messages
--limit-policy [none | reject | flow-to-disk | ring | ring-strict]
Action taken when queue limit is reached:
none (default) - Use broker's default policy
reject - Reject enqueued messages
flow-to-disk - Page messages to disk
ring - Replace oldest unacquired message with new
ring-strict - Replace oldest message, reject if oldest is acquired
--order [fifo | lvq | lvq-no-browse]
Set queue ordering policy:
fifo (default) - First in, first out
lvq - Last Value Queue ordering, allows queue browsing
lvq-no-browse - Last Value Queue ordering, browsing clients may lose data
--generate-queue-events N
If set to 1, every enqueue will generate an event that can be processed by
registered listeners (e.g. for replication). If set to 2, events will be
generated for enqueues and dequeues
Add Exchange Options:
--durable Exchange is durable
--sequence Exchange will insert a 'qpid.msg_sequence' field in the message header
with a value that increments for each message forwarded.
--ive Exchange will behave as an 'initial-value-exchange', keeping a reference
to the last message forwarded and enqueuing that message to newly bound
queues.
in addition the tool can be used to test the current set properties of
a queue or exchange.
$ qpid-config queues
Queue Name Attributes
=================================================================
pub_start
pub_done
sub_ready
sub_done
perftest0 --durable
reply-dhcp-100-18-254.bos.redhat.com.20713 auto-del excl
topic-dhcp-100-18-254.bos.redhat.com.20713 auto-del excl
IT you have not played with it it is worth a whirl...
Something worth adding would be qpid-msg tool, which could
browse messages on a queue, dequeue a message to a file, move
messages from queue to queue and enqueue a message from a file.
That would be handy for testing, and debugging. Maybe even in some
production admin use cases... anyone jump in.
Carl.
Re: qpid-config & some ideas.
Posted by Gordon Sim <gs...@redhat.com>.
Carl Trieloff wrote:
> Something worth adding would be qpid-msg tool, which could
> browse messages on a queue, dequeue a message to a file, move
> messages from queue to queue and enqueue a message from a file.
>
> That would be handy for testing, and debugging.
There are a couple of test programs in cpp/src/tests that are not a
million miles away:
sender: sends messages whose content is taken from standard
in; you can specify the exchange and routing key to
use; optionally an EOS message can be sent
receiver: consumes messages and writes the content to standard
out; you can specify the queue to pull from and acking
frequency; you can either specify a number of messages
or keep pulling until you receive an EOS
They are currently very much just testing and debugging utilities and
not as fancy as the tool you are describing, but thought they were worth
mentioning anyway.
Re: qpid-config & some ideas.
Posted by Gordon Sim <gs...@redhat.com>.
Carl Trieloff wrote:
> Something worth adding would be qpid-msg tool, which could
> browse messages on a queue, dequeue a message to a file, move
> messages from queue to queue and enqueue a message from a file.
>
> That would be handy for testing, and debugging.
There are a couple of test programs in cpp/src/tests that are not a
million miles away:
sender: sends messages whose content is taken from standard
in; you can specify the exchange and routing key to
use; optionally an EOS message can be sent
receiver: consumes messages and writes the content to standard
out; you can specify the queue to pull from and acking
frequency; you can either specify a number of messages
or keep pulling until you receive an EOS
They are currently very much just testing and debugging utilities and
not as fancy as the tool you are describing, but thought they were worth
mentioning anyway.
Re: How to blogs on Qpid
Posted by Jonathan Robie <jo...@redhat.com>.
Carl Trieloff wrote:
> Would it be useful to create a page where we link useful and
> informative blog posting about Qpid?
As well as articles and such. Yes, it would be useful.
Jonathan
Re: How to blogs on Qpid
Posted by Carl Trieloff <cc...@redhat.com>.
I have added http://cwiki.apache.org/confluence/display/qpid/FAQ
Add at will....
If you have a question for the page, post it to the list, or add it
Carl.
Carl Trieloff wrote:
>
> Using Qpid / AMQP with JMS
>
> http://rajith.2rlabs.com/2008/06/08/axis2synapse-amqp-support-via-jms-transport-using-apache-qpid/
>
>
> Using Qpid / AMQP with Axis2
>
> http://wso2.org/library/3663
>
>
> Would it be useful to create a page where we link useful and
> informative blog posting about Qpid?
> Carl.
Re: How to blogs on Qpid
Posted by Lahiru Gunathilake <la...@apache.org>.
Hi Danushka,
On Sat, Jan 17, 2009 at 9:54 PM, Danushka Menikkumbura <da...@wso2.com>wrote:
>
> Do you want to figure out the best options for doing that?
>>
>> As far as I know, we do not have any blog space within Apache itself. I
> prefer to have the Qpid blog on blogger and suggest we name it "
> apache-qpid.blogspot.com".
> Thoughts please!
Sounds pretty good !!!!
Lahiru
>
>
> Danushka
>
> --
> Danushka Menikkumbura
> Technical Lead, WSO2 Inc.
>
> blog : http://danushka-menikkumbura.blogspot.com/
>
> http://wso2.com/ - "The Open Source SOA Company"
>
>
>
--
Apache Qpid, Worlds dominant messaging middleware..!!!
Re: How to blogs on Qpid
Posted by Carl Trieloff <cc...@redhat.com>.
Danushka Menikkumbura wrote:
>
>> Do you want to figure out the best options for doing that?
>>
> As far as I know, we do not have any blog space within Apache itself.
> I prefer to have the Qpid blog on blogger and suggest we name it
> "apache-qpid.blogspot.com".
> Thoughts please!
>
> Danushka
>
For google search apache-qpid-amqp.blogspot.com would give us more hits.
Thoughts?
Carl.
Re: How to blogs on Qpid
Posted by Danushka Menikkumbura <da...@wso2.com>.
> Do you want to figure out the best options for doing that?
>
As far as I know, we do not have any blog space within Apache itself. I
prefer to have the Qpid blog on blogger and suggest we name it
"apache-qpid.blogspot.com".
Thoughts please!
Danushka
--
Danushka Menikkumbura
Technical Lead, WSO2 Inc.
blog : http://danushka-menikkumbura.blogspot.com/
http://wso2.com/ - "The Open Source SOA Company"
Re: How to blogs on Qpid
Posted by Danushka Menikkumbura <da...@wso2.com>.
> Do you want to figure out the best options for doing that?
>
Yeah.Sure.
Danushka
--
Danushka Menikkumbura
Technical Lead, WSO2 Inc.
blog : http://danushka-menikkumbura.blogspot.com/
http://wso2.com/ - "The Open Source SOA Company"
Re: [CONF] Apache Qpid: Qpid Java FAQ (page edited)
Posted by Marnie McCormack <ma...@googlemail.com>.
I'd prefer not - we ref this page for our users who are only interested in
the Java FAQ content (it was originally an internal page). You could include
it's content in a master page if you'd like.
Marnie
On Fri, Jan 16, 2009 at 2:15 PM, Carl Trieloff <cc...@redhat.com>wrote:
>
>
> Marnie,
>
> Can we just have one FAQ? i.e. move the Java FAQ questions to section on
> the signle FAQ/ How to page
> and create a section that is specific for Java.
>
> That will help with search robots.
>
> Carl.
>
>
>
>
>>
>
Re: [CONF] Apache Qpid: Qpid Java FAQ (page edited)
Posted by Carl Trieloff <cc...@redhat.com>.
Marnie,
Can we just have one FAQ? i.e. move the Java FAQ questions to section on
the signle FAQ/ How to page
and create a section that is specific for Java.
That will help with search robots.
Carl.
>
Re: How to blogs on Qpid
Posted by Carl Trieloff <cc...@redhat.com>.
Danushka Menikkumbura wrote:
>
>>
>> Using Qpid / AMQP with JMS
>>
>> http://rajith.2rlabs.com/2008/06/08/axis2synapse-amqp-support-via-jms-transport-using-apache-qpid/
>>
>>
>> Using Qpid / AMQP with Axis2
>>
>> http://wso2.org/library/3663
>>
>>
>> Would it be useful to create a page where we link useful and
>> informative blog posting about Qpid?
>> Carl.
>>
>>
> I suggest we have an "official" blog for Qpid itself.
>
> Danushka
>
Do you want to figure out the best options for doing that?
Carl.
Re: How to blogs on Qpid
Posted by Danushka Menikkumbura <da...@wso2.com>.
>
> Using Qpid / AMQP with JMS
>
> http://rajith.2rlabs.com/2008/06/08/axis2synapse-amqp-support-via-jms-transport-using-apache-qpid/
>
>
> Using Qpid / AMQP with Axis2
>
> http://wso2.org/library/3663
>
>
> Would it be useful to create a page where we link useful and
> informative blog posting about Qpid?
> Carl.
>
>
I suggest we have an "official" blog for Qpid itself.
Danushka
--
Danushka Menikkumbura
Technical Lead, WSO2 Inc.
blog : http://danushka-menikkumbura.blogspot.com/
http://wso2.com/ - "The Open Source SOA Company"
Re: How to blogs on Qpid
Posted by Jonathan Robie <jo...@redhat.com>.
Carl Trieloff wrote:
> Would it be useful to create a page where we link useful and
> informative blog posting about Qpid?
As well as articles and such. Yes, it would be useful.
Jonathan
How to blogs on Qpid
Posted by Carl Trieloff <cc...@redhat.com>.
Using Qpid / AMQP with JMS
http://rajith.2rlabs.com/2008/06/08/axis2synapse-amqp-support-via-jms-transport-using-apache-qpid/
Using Qpid / AMQP with Axis2
http://wso2.org/library/3663
Would it be useful to create a page where we link useful and informative
blog posting about Qpid?
Carl.
How to blogs on Qpid
Posted by Carl Trieloff <cc...@redhat.com>.
Using Qpid / AMQP with JMS
http://rajith.2rlabs.com/2008/06/08/axis2synapse-amqp-support-via-jms-transport-using-apache-qpid/
Using Qpid / AMQP with Axis2
http://wso2.org/library/3663
Would it be useful to create a page where we link useful and informative
blog posting about Qpid?
Carl.