<< 09-May-2008 : hausbot on #activemq at codehaus [download] [back] >>
 
 
time nick message

12:27

<jstrachan>

chirino_m: you there?

13:54

<jduty>

can I use the camel feature in activemq to have broker B consume messages from a destination in broker A and publish it to a destination in broker B?

14:06

<jstrachan>

sure

14:07

<jduty>

how do you specify a connection url in camel routes in the activemq.xml?

14:07

<jduty>

when I get it going I'll add it to your website

14:08

<jstrachan>

see the example here : http://activemq.apache.org/camel/activemq.html

14:09

<jstrachan>

define as many jms components as you like with different connection factories etc

14:09

<jstrachan>

just give 'em different ids

14:09

<jstrachan>

from("a:someQueue").to("b:anotherQueue")

14:09

<jstrachan>

etc

14:12

<paolo>

i got a question about network of brokers: if i have a MDB on machine A listening on queue Q and the same MDB on machine B listening on queue Q, how activemq choose the mdb on A or B to deliver the msg? i mean i know it choose only one, but which is the policy?

14:13

<paolo>

and is it possible maybe to define some load balancing policy?

14:17

<jstrachan>

it always chooses local consumers first if they have capacity

15:02

<paolo>

jstrachan, so if i'm sending a message from localhost to a queue and i have a consumer deployed on localhost (or attached to the same broker anyways) it has the precedence??

15:02

<paolo>

and if all the consumers are remote?

15:02

<paolo>

it's random?

15:04

<jstrachan>

it favours consumers on the same broker to remote brokers

15:14

<jduty>

jstrachan... does it cost more to publish to a topic if you have more consumers on it?

15:19

<jstrachan>

at publish time not much really - just uses up a bit more cpu/network

15:23

<jduty>

network? in what way?

15:23

<jduty>

Oh right

15:23

<jstrachan>

sockets

15:23

<jduty>

sorry

15:23

<jstrachan>

;)

15:55

<paolo>

jstrachan, yeah, i mean, if i have actvemq on AS A networked with Amq on AS b and on AS c, MDB on AS a and AS b, and im sending on the queue from AS c. will Amq deliver the message to one of the mdbs on a or b without any special policy

15:55

<paolo>

?

15:57

<jstrachan>

activemq networks means that messages are store/forwarded to available consumers across broker boundaries, yes

20:36

<Steve>

Question about ActiveMQ functionality...

20:36

<Steve>

I am setting isSendFailIfNoSpace() to true in hopes of a fast failure if DISK is full

20:37

<Steve>

However, the code in broker.region.Queue only checks this setting if memoryUsage.isFull() is true

20:37

<Steve>

Should I file a bug, or is thiis desired behavior?

20:38

<Steve>

FYI, we are configuring a local bridge to consolidate server logs off a large number of application servers. We want to (1) not affect production by filling up disk and (2) not stop threads if allocated disk space is used up

20:39

<Steve>

But, we're willing to lose log messages in extreme cases

21:39

<Steve>

Anyone here who can answer a question about failover mode

21:39

<Steve>

?

22:12

<Steve>

I added 1716 and 1717. Please let me know if I didn't take appropriate steps before adding stuff to the JIRA

Drone v1.4 © 2002-2005 Uwyn RIFE powered