Ok, seems I was mistaken that this was happening under 5.7, I must have been
hitting our 5.3.2 server. Sorry for the false alarm guys!
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Large-message-failure-over-http-transport-tp4659891p4660006.html
Sent from the ActiveMQ
Right now I set it to 5mb per queue, but I guess could be even less.
I tested using "0 mb" to see if it completely flushed to disk without using
memory, but didn't work, in that case seems it's the same as not putting
the memoryLimit at all. Is there any way to make them just go to disk
without us
Im am working on a test/load program in c++ for HPUX 11.31. The purpose was
mainly to test the broker, (we are currently using the Fuse ESB on another
system for a broker and it seems to be doing great). But I seem to keep
having probelms with the C API. One of the most common problems is this
sta
okay, I added other catches in the activeMQ code, and this is what I got:
errno=32The Exception was ERROR_SYSCALL. ret=-1
FILE: decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp, LINE: 614
FILE: decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp, LINE: 633
FILE: decaf/internal/
Also, can you explain a little more about your usecase? HTTP might not be
the best option for these larger payloads.
What happens under the covers is the ActiveMQTextMessage object is
converted to XML using xstream. There is some tuning around compressing the
final XML before it goes out over the
Can you post your broker config?
I have been trying 10MB payloads and they work fine. In IRC i mentioned I
was getting OOM, but my test case was trying to send 100MB payloads, not
10MB.
Also,
is your exception stack trace from the client side? Or broker side?
On Wed, Nov 28, 2012 at 10:02 AM, m
Another thought.. if you know they won't be immediately consumed (slow, or
even intermittent consumers), why keep them in memory at all? Or at least
why keep such a large number of them? Maybe turn down the memory limits on
the destinations with knowingly slow consumers so fewer messages are kept
i
Mmmm... good question.. it can be accessed through the BrokerService
object, but it was never intended to be made accessible... would have to
use some hacking to get at it. See attached unit test that has such hacking.
Otherwise, to get at it in JMX, make sure your broker is populating the
usernam
Am thinking that the fix for
http://issues.apache.org/activemq/browse/AMQ-2335 should just whack the
password. leaking or providing the user in the advisory is probally ok.
When logging connection info commands we just remove or replace with ""
the password.
https://issues.apache.org/jira/brows
Hi Christian!
Yes, actually that's what I'm doing, just setting per destination policies
which work for me.
I anyway needed them because I'm creating queues with lots of messages,
which won't be immediately consumed, so having them store a lot into memory
ended up slowing things up.
So I just ass
Thanks, Christian.
To put it more succinctly, what I want to do is retrieve the userName for a
given ConnectionId returned by the Advisory onMessage function.
Do you think JMX is the easiest way to do this? Can't I use the
BrokerService or some other object I have created in the embedded ActiveM
On Thu, 2012-11-29 at 01:22 -0800, mercuric wrote:
> Hi,
> First of all I have to say sorry for this newbie question but its my first
> project in c++ and im so frustrated…
> Im simply want to get a connection between activemq and my C++ project
> written in C++ on Visual Studio Express 2010.
>
Yes, the advisory broker will delete the username/password from a
connectionInfo before dispatching to the advisories.
Since you're creating the broker in code, are you asking for how to
retrieve the username/password through the BrokerService object?
You can retrieve the username for a connectio
I'm stuck on something that is probably obvious but I just can't figure out
how to do it.
What I want to do is retrieve the userName from an incoming Stomp
connection. I am creating the broker in my code and have also set up
monitoring Advisory messages. The Advisory onMessage() function rece
Rob,
I'm stuck on something that is probably obvious but I just can't figure out
how to do it.
What I want to do is retrieve the userName from an incoming Stomp
connection. I am creating the broker in my code and have also set up
monitoring Advisory messages. The onMessage function receives t
For 5 users whose credentials don't change often, I'd suggest simple
authentication plugin
http://activemq.apache.org/security.html#Security-SimpleAuthenticationPlugin
as it's the easiest to setup.
Regards
--
Dejan Bosanac
--
Red Hat, Inc.
FuseSource is now part of Red Hat
db
In terms of numbers what would that mean? I have a situation wherein I have
at least 5 different clients writing to one Topic and another client reading
from that Topic. In response, this client writes to a Topic and the other 5
get the message from that Topic. What would you recommend in this scen
Hi,
it all depends on your environment and use case.
If you have a small number of clients that you control, you can easily
go with user/pass version (and using ssl just to encrypt data).
If you expect large number of clients and you might to think about
LDAP so that you can manage user credenti
Thanks for the reply. I can see from the ActiveMQ documentation that there
are many possible ways to do Authentication and Authorization. For example.,
to Authenticate, I can use SSL, JAAS Certificate Authentication, JAAS LDAP
Authentication, JAAS Username, Password Authentication.
What would you
You can use cached ldap authorization module
http://activemq.apache.org/cached-ldap-authorization-module.html
it caches all data in memory
Regards
--
Dejan Bosanac
--
Red Hat, Inc.
FuseSource is now part of Red Hat
dbosa...@redhat.com
Twitter: @dejanb
Blog: http://sensatic.ne
Hi,
First of all I have to say sorry for this newbie question but its my first
project in c++ and im so frustrated…
Im simply want to get a connection between activemq and my C++ project
written in C++ on Visual Studio Express 2010.
1. I copied the Source of the ‘SimpleProducer.cpp’
2. Added Path
Guys,
I"m looking for suggestions if I should consider using LDAP for
authorization? Does the authorization happen only once when my clients set
up their connection? or does it happen for every messages published or
consumed by the clients?
--
View this message in context:
http://activemq.2283
Hi,
if you're thinking on web console, it doesn't get started when you use
embedded broker. You need to start some kind of web container and
configure it. You can find more info at
http://activemq.apache.org/web-console.html
Regards
--
Dejan Bosanac
--
Red Hat, Inc.
FuseSour
23 matches
Mail list logo