Re: Implement request response with JMS over Stomp

2009-08-11 Thread Jose Luna
> If I understood right, then each requesting service A (A1...An) should > maintain its own unique correlation id (permanent during the connection's > life). My initial suggestion was actually to have a unique correlation-id for each request. This provides greater granularity than the above pro

Re: Implement request response with JMS over Stomp

2009-08-11 Thread Jose Luna
You can use two normal (non-temporary) queues, one for requests and one for responses. Each request will have a correlation-id header. Let's call the requesting service A and the responding service B. Service A will send to /queue/requests. Service B will receive (consume) the request, and

Re: right way to send and receive messages in a BrokerPlugin

2009-08-03 Thread Jose Luna
Mats, Since Rob has noted that this as the correct way, would you consider adding your plugin to the wiki when it is complete? I think others would find it useful/interesting, including myself. JLuna - Original Message > From: Rob Davies > To: users@activemq.apache.org > Sent: Mo

Re: question about queue or topic and clients

2009-07-25 Thread Jose Luna
> Actually, using composite queues > (http://activemq.apache.org/composite-destinations.html) you can send one > message and have it automatically forwarded to all 500 destinations. That wasn't the link I intended to send, refer to this one: http://activemq.apache.org/virtual-destinations.ht

Re: question about queue or topic and clients

2009-07-25 Thread Jose Luna
> thanks for your reply,the message that i want to send to clients is > different,that is to say > i want to tell one client a message.if i have only one topic ,every > client must jude the message weather is sent to himself. do you have > good idea? If each client is getting it's own messages

Re: Replye-Request pattern performance

2009-07-21 Thread Jose Luna
> We have a pool of generic clients that each is listening to it's own > temporary queue and all write to a common queue. These connections are > open at creation time. They remain open until they get evicted by the > pool manager. > > We have different applications that use this pool, and the si

Re: ActiveMQ For Messages Composed Of Images

2009-07-21 Thread Jose Luna
We have no problems using activemq with binary data. I don't know the details of your use case, but HTTP may be a better choice since it provides decent caching semantics that are already well understood. JLuna - Original Message > From: Carlo Camerino > To: users@activemq.apach

Re: Changing the ManagmentContext to point to non-localhost

2009-07-16 Thread Jose Luna
- Original Message > From: Bruce Snyder > To: users@activemq.apache.org > Sent: Thursday, July 16, 2009 10:54:24 AM > Subject: Re: Changing the ManagmentContext to point to non-localhost > > On Thu, Jul 16, 2009 at 8:21 AM, mkondawrote: > > > > Hello All > > > > I have changed the m

Re: Unable to have multiple consumers on the same broker

2009-07-14 Thread Jose Luna
> I must confess I am a newbie to STOMP Php library and find it really poor in > terms of documentation. Feels like someone developer on some planet has done > us all a favor by dumping some code on the google code list and given us a > free hand on how to scratch our heads and try to get it al

Re: Unable to have multiple consumers on the same broker

2009-07-13 Thread Jose Luna
Are you sure you're not setting the same client-id header for both clients? If you are, I don't believe the second client will be allowed to connect -- you'll receive an exception from the broker. On that note, do you know if you're connecting to the broker at all with the second client? If

Re: How can I save to message data that already exists in the queue?

2009-07-13 Thread Jose Luna
I'm not sure I understand correctly, but I think you need Camel. Check out the aggregator pattern: http://camel.apache.org/aggregator.html For more info about using Camel with Activemq: http://activemq.apache.org/how-should-i-package-applications-using-camel-and-activemq.html - Original

Re: ActiveMQBrowser version 2.5.1 (GPLv2) has been released

2009-07-12 Thread Jose Luna
Nice work. I wasn't aware that ActiveMQBrowser was an option for monitoring/administrationg activemq. Could someone with wiki access add this to the list at: http://activemq.apache.org/how-can-i-monitor-activemq.html JLuna - Original Message > From: NAOKI TAKEMURA > To: users@act

Re: Messages are not delivered for a durable subscription using STOMP on reconnect

2009-07-10 Thread Jose Luna
Yes, I've definitely had this scenario working in the past. If I recall correctly, something that tripped me up is that the messages must be persistent with a stomp durable subscription. So try using the 'persistent: true' header when sending the message. I don't believe this is documented

Re: Activate Some Services

2009-07-08 Thread Jose Luna
> using only one queue can block consumers , besides i think that a queue can't > support 30 million of messages Again, it's not clear to me what you want to do with these messages after they're persisted. I don't think you'll be able to get any useful help without providing more details.

Re: Activate Some Services

2009-07-08 Thread Jose Luna
> This is the problem , because i need 30 millions queue and i can't use topics > instead > > Thanks a lot Mr James for you help > It's not clear to me what you want to do with them after you persist them, but you can send them all to a single queue then have a service that consumes from

Re: Large number of queues (HowTo)

2009-05-23 Thread Jose Luna
> Any chance we can get a hold of your test code. We use stomp, so our tests are very short python scripts using stomp.py: http://www.briggs.net.nz/log/projects/stomppy/ They are simple scripts that create thousands of queues from a single connection, send messages to those queues, and also send

Re: too many open files

2009-05-18 Thread Jose Luna
> At this point it is clear that it is an operating system issue. Frederik is correct on this, I tested with CentOS 5. Here is an example of setting the hard and soft limit: *softnofile 8192 *hardnofile 65535 After that: ulimit -n 8192

Large number of queues (HowTo)

2009-05-18 Thread Jose Luna
Hello, We have the requirement of creating a very large number of queues (tens of thousands) in a single broker. My searches turned up several others trying to do something similar, but with no results. We were recently able to accomplish this, so I decided to write a little howto. All of thi

Re: Installing DLQ Broker plugin (interceptor) for 5.3.0

2009-05-15 Thread Jose Luna
- Original Message > From: fehm > To: users@activemq.apache.org > Sent: Friday, May 15, 2009 7:25:57 AM > Subject: Installing DLQ Broker plugin (interceptor) for 5.3.0 > > > Hi, > > I have some difficulties installing the DLQ broker plugin as stated on the > plugin installation ho

Re: Need help with activemq - php architecture

2009-05-13 Thread Jose Luna
- Original Message > From: zmiq2 > To: users@activemq.apache.org > Sent: Wednesday, May 13, 2009 12:20:11 PM > Subject: Need help with activemq - php architecture > > > I'm a newbie in activemq, and haven't found much info about setting the > correct architecture for a high performance

Re: Structured Data Accross Languages

2009-05-11 Thread Jose Luna
- Original Message > From: jamesst > To: users@activemq.apache.org > Sent: Monday, May 11, 2009 8:34:27 AM > Subject: Structured Data Accross Languages > > > Does ActiveMQ support sending structured data (Data Objects) across languages > or is additional 3rd party/ self developed soft

Re: Durable subscription with subscription recovery policy

2009-05-06 Thread Jose Luna
- Original Message > From: Jose Luna > To: users@activemq.apache.org > Sent: Thursday, April 30, 2009 3:04:33 PM > Subject: Durable subscription with subscription recovery policy > > > Hello, > > I haven't received a response after a few days, so I

Re: No way to use activeMQ via http. TCP works fine, but not http. Please help.

2009-05-04 Thread Jose Luna
> Jose Luna-2 wrote: > > > > I don't have any recommendation regarding activemq and HTTP but you may > > consider tunneling openwire through SSL > > (http://activemq.apache.org/ssl-transport-reference.html).If you set > > your broker up to use port 443

Re: No way to use activeMQ via http. TCP works fine, but not http. Please help.

2009-05-04 Thread Jose Luna
> I developed simplest application where > client sends array of Integers as ObjectMessage to Server. > Server application calculates sum of this values and return the result as > ObjectMessage back to Client. > Other words, it is simplest example ever. > > When I use tcp protocol (tcp://loc > ht

Durable subscription with subscription recovery policy

2009-04-30 Thread Jose Luna
Hello, I haven't received a response after a few days, so I'd like to try again. I'll try to be brief this time: Our consumers disconnect/reconnect frequently. We need durable subscriptions to work with the subscription recovery policy. Currently (Activemq 5.2), durable subscriptions with t

Durable subscription with retroactive subscription recovery policy

2009-04-27 Thread Jose Luna
Hello, We have a large number (thousands) of durable subscribers that subscribe to a set of topics. These consumers will be connecting/disconnecting frequently, and we must ensure that they receive messages sent while they are disconnected (hence durable subscriptions). These durable subscri