Re: Sending a ArrayList takes so long ?

2012-01-19 Thread ricardofaccioli
Babak, Yes my broker have a active mq: from("activemq:analisarColeta1:analisarColeta").to("seda:analisarColeta?concurrentConsumers=" + execucoesSimultaneas); I finally fix the problem! The class ResourceProperties in client side, I forgot the implements Serializable. =[ When I done this the pr

Re: Sending a ArrayList takes so long ?

2012-01-19 Thread ricardofaccioli
Hello: My Broker receive a message and generate a list of Objects: from("seda:analisarColeta?concurrentConsumers=" + execucoesSimultaneas).process(new Processor() { public void process(Exchange exchange) throws Exception { AnalisarColetaReq req = (AnalisarColetaReq) e

Sending a ArrayList takes so long ?

2012-01-19 Thread ricardofaccioli
Hello, When I send one ArrayList with a size about 150 in : exchange.getOut().setBody(); My app(client) stuck and don`t receive the message: Producer producer = endpoint.createProducer(); producer.start(); producer.process(exchange); producer.stop(); Li

Re: Connecting a External ActiveMQ

2011-12-23 Thread ricardofaccioli
Hi thks for your reply, I`m doing this without springs beans. I already have the camel in action, active mq in action. I resolve using this in adm: camelContext = new DefaultCamelContext(); ConnectionFactory connectionFactory = new ActiveMQConnectionFactory("tcp://192.168.100.30:61616"); c

Re: Connecting a External ActiveMQ

2011-12-23 Thread ricardofaccioli
Brian I`m already done this.. And like you said.. I view the garbage stuff. If I`m only create a component of activemq in camel, my grails web app don`t start. I need create a broker service in a adm too ? like: **I`m adm app Broker brk = new Broker(); brk.addConnect("tcp://localhost:61610")

Connecting a External ActiveMQ

2011-12-22 Thread ricardofaccioli
Hello, I have two applications: A broker and a adm. I have a problem, my adm don`t connect with broker app, when a using a broker in different computer. I have do all using java dsl: broker app: real ip (192.168.100.30) BrokerService brk = new BrokerService(); brk.addConnector("tc

Asyncronous Problem?

2011-12-15 Thread ricardofaccioli
Hello everyone. I building my first Camel Application And I have a problem I`m using ActiveMQ and JAVA DSL. I have a Producer and them this send various type of message and I expected receive always a response not problem. But I have one type of message. And sometimes her take so long to f