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
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

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

2018-02-16 Thread Thiago Veronezi
arts 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" wrote: > > Hi, ActiveMQ community, > > I'm actively working on a documentation for "out of memory" protection on >

Re: ms sql jdbc example

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

Re: ms sql jdbc example

2018-02-16 Thread Thiago Veronezi
t; > I can set up a vm for you with ms sql if you wish > > 2018-02-16 18:44 GMT+05:00 Thiago Veronezi : > > > Hi, > > > > I don't have a mssql server handy for testing it. Can you try something? > > > > I have postgres configured with this... >

Re: ms sql jdbc example

2018-02-16 Thread Thiago Veronezi
activemq-data" dataSource="#mssql-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 -Dmy.network.connector=$MY_NC_ENV_VALU

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 downloaded jdbc driver + cha

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. It