Ruby Stomp custom SessionId

2018-02-26 Thread Thiago Veronezi
Hi guys, I'm using this code to connect... *** require 'rubygems' require 'stomp' stomp_params = { :hosts => [ {:host => "amq", :port => 61613} ] } client = Stomp::Client.new(stomp_params) client.subscribe("/queue/logsQueue", {:ack

Re: Producer Flow Control active but server still facing OOM issues

2018-02-21 Thread Thiago Veronezi
ap is. If 512 MB works with Postgres, and you're good with using > > Postgres, that's fine, but the general consensus is that KahaDB has had > > more testing and is more performant than the SQL data store, so I > > personally would run KahaDB even if it meant I had to use a heap l

Re: Producer Flow Control active but server still facing OOM issues

2018-02-16 Thread Thiago Veronezi
to answer > the parts I don't have time for now), but I want to get you something to > start with. > > On Feb 15, 2018 5:03 AM, "Thiago Veronezi" <thi...@veronezi.org> wrote: > > Hi, ActiveMQ community, > > I'm actively working on a documentation for "o

Re: ms sql jdbc example

2018-02-16 Thread Thiago Veronezi
gt; > reference to bean 'mssql-ds' while setting bean property 'dataSource'; > > > nested exception is org.sprin > > > gframework.beans.factory.CannotLoadBeanClassException: Cannot find > class > > > [org.apache.commons.dbcp.BasicDataSource] for bean with name > 'mssql

Re: ms sql jdbc example

2018-02-16 Thread Thiago Veronezi
t have postgresql here. > > I can set up a vm for you with ms sql if you wish > > 2018-02-16 18:44 GMT+05:00 Thiago Veronezi <thi...@veronezi.org>: > > > Hi, > > > > I don't have a mssql server handy for t

Re: ms sql jdbc example

2018-02-16 Thread Thiago Veronezi
ql-ds"> > > > > > > > > > > > > > > >

Re: Using Environment Variables in Activemq.xml

2018-02-16 Thread Thiago Veronezi
You can use the -D option to copy your environment variables to System.properties via "bin/env". For example: ACTIVEMQ_OPTS="$ACTIVEMQ_OPTS_MEMORY -Djava.util.logging.config.file=logging.properties -Djava.security.auth.login.config=$ACTIVEMQ_CONF/login.config

Re: ms sql jdbc example

2018-02-16 Thread Thiago Veronezi
Can you share your configuration file? []s, Thiago. On Fri, Feb 16, 2018 at 8:44 AM, Илья Шипицин wrote: > hello, > > I'm trying to set up apache-activemq-5.15.3 + ms sql using the following > guide: > > http://activemq.apache.org/sqlserver.html (2005 part) > > > I

Producer Flow Control active but server still facing OOM issues

2018-02-15 Thread Thiago Veronezi
Hi, ActiveMQ community, I'm actively working on a documentation for "out of memory" protection on ActiveMQ. Recently I was working on this POC project where I stressed a default broker configuration with 1.000.000 messages with 20KB payload each, where each message took 1 second to be consumed.