Hello,
I would like to use camel to realize this (apparently) simple web
application:
- a CONCURRENT MULTIUSER web application with a simple search page like
google;
- results MUST appears asynchronously as soon as they can;
- I need to query several databases (SQL,HTTP,WEBSERVICES,TELNET)
concurr
First, thanks for your detailed reply!
Christian Schneider wrote
>
> you could use jms to achieve async behaviour and serialization.
>
> - You can limit the number of consumer threads to 1 and also the number
> of threads for the executor thread pool to 1 to make sure each source
> only proce
Preben.Asmussen wrote
>
>
> Maybe you could create a Lucene or Solr index from the resources, and then
> use that for your user search.
> See http://lucene.apache.org/java/docs/index.html
>
>
>
Thank you for suggestion, unfortunately some of this data bases are "pay per
use" so at most I can
I am interested too! What approach have you utilized?
Thanks,
Mario
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-and-portal-scraping-tools-tp4461838p5100188.html
Sent from the Camel - Users mailing list archive at Nabble.com.
A newbie question: when I create a context with jms queues, web services and
other things, does Camel creates them or I have to create queues and other
things manually (with spring for example)?
Thanks,
Mario
--
View this message in context:
http://camel.465427.n5.nabble.com/NEWBIE-automatic-que
Hello,
Imagine that I have several clients that put messages on a jms queue managed
by Camel. Now this queue is connected to a complex route that generates many
messages as replies. Now I would like that each client (obviously) receives
only its replies. I suppose I have to do it with in-out reques
Thanks for reply.
So:
1) is in-out only synchronous?
2) does it works even the reply is composed of multiple messages?
3) how does in-out work when an external application puts a message on my
queue?
Thanks,
Mario
--
View this message in context:
http://camel.465427.n5.nabble.com/Please-explai
2011/12/29 Willem.Jiang [via Camel] <
ml-node+s465427n5107178...@n5.nabble.com>
>
> On Thu Dec 29 15:38:42 2011, mgiammarco wrote:
> > 2) does it works even the reply is composed of multiple messages?
> If you can aggregate the multiple message into one message.
>
>
Hello,
if I have multiple clients that put messages in a queue managed by Camel AND
each client can receive as a reply many messages how can I do it with Camel?
I mean suppose that I create an "out" queue where all replies go. How can I
be sure that a client can get ONLY its messages?
Does Camel
Thanks for reply in the first day of the year (and BUON ANNO!).
I will consider this thing but I am worried about two things:
- security: can one client "steal messages from others?"
- automation: it seems to me that it is a manual way. Is there an "official
way" to do it? For example to put a to
.
>
> Christian
>
> Am 01.01.2012 11:45, schrieb Filippo Balicchia:
>
> > Hello,
> > Why don't use message selector from client point of view ?
> >
> > --Filippo
> >
> > Il 31 dicembre 2011 19:57, mgiammarco<[hidden
> > email]<http:/
reply message with a key only the client knows. e.g.
>> public/private key scheme.
>>
>> Christian
>>
>> Am 01.01.2012 11:45, schrieb Filippo Balicchia:
>>
>> > Hello,
>> > Why don't use message selector from client point of view ?
>
I have tried camel-archetype-web and camel-archetype-webconsole (it seems
newer) but I am not able to see the console.
In my project too I cannot see console...
--
View this message in context:
http://camel.465427.n5.nabble.com/Embedded-web-console-tp478885p5117887.html
Sent from the Camel - Use
Same thing for me! And I tried also to deploy projects created with maven
archetype webconsole without luck.
--
View this message in context:
http://camel.465427.n5.nabble.com/Embedded-web-console-tp478885p5119175.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Ok probably I have explained myself wrong. I need that camel consumes
messages from the outside. I am testing it with:
from("activemq:queryServer?exchangePattern=InOut")
.to("log:it.giammar.pratobackend?showHeaders=true")
.to("bean:s
Hello,
I have an activemq queue. I need to send messages to it with stomp. I have
tried gozirra and activemq stomp client libs.
I would like to receive a reply to my message so I try to put in replyto
/temp-queue/ to create a temporary queue but I fail.
What can I do?
Thanks,
Mario
--
View this
Hello,
I am trying a really simple example from camel web site.
The example creates a CamelContext and then it does
context.createProducerTemplate();
Unfortunately the code does not compile because context has no such method.
I am getting crazy, please help me!
Mario
--
View this message in c
n?
> Which version of Camel do you use?
> Can you share your code with us?
>
> [1] http://camel.apache.org/support.html
>
> Best,
> Christian
>
> On Thu, Jan 5, 2012 at 9:08 PM, mgiammarco <[hidden
> email]<http://user/SendEmail.jtp?type=node&node=512403
Hello,
I am using a stomp client (that usese only Strings) to send a bean to Camel
using ActiveMQ. It marshal the message to a String using xstream.
Camel receives it as String, it unmarshals (using xstream) it as the correct
Java Bean. Camel process (it is a request-reply queue) and at the end I
Hello,
any news about this?
I have the same problem: I need web console under tomcat. Is there any
workaround? Can I deploy the console in a separate war?
Thanks,
Mario
--
View this message in context:
http://camel.465427.n5.nabble.com/Embedded-Web-Console-in-Tomcat-tp4894690p5129233.html
Sent f
Ok I have tried again and I failed again.
This is my route:
from("activemq:queryServer?exchangePattern=InOut")
.setExchangePattern(ExchangePattern.InOut)
.to("log:it.giammar.pratobackend?showHeaders=true").unmarshal()
Thanks I have tried your workaround and it does the conversion.
Unfortunately something worse is happening:
with this route and a String input my stomp client receives a reply:
from("activemq:queryServer?exchangePattern=InOut")
.setExchangePattern(ExchangePattern.I
I mean does the request reply continue to work if the last step of the route
is not a .to() but a .xstream() ? It seems not for me
--
View this message in context:
http://camel.465427.n5.nabble.com/Xstream-marshals-to-byte-array-and-not-String-tp5129211p5131281.html
Sent from the Camel - Users ma
Nobody can help me? Why after I put xstream marshal/unmarshal request-reply
has stopped working?
2012/1/9 mgiammarco [via Camel]
> I mean does the request reply continue to work if the last step of the
> route is not a .to() but a .xstream() ? It seems not
Ok I have tried but unfortunately reply is missing. Conversion to String
works:
[ #1 - JmsConsumer[queryServer]] pratobackend INFO
Exchange[ExchangePattern:InOut, Headers:{JMSCorrelationID=null,
breadcrumbId=ID:virtual1.mariosoft.mio-54532-1326218763414-4:1:-1:1:1,
JMSPriority=4
I have the same problem. I send a message and I expect several ASYNC replies.
Unfortunately I get only ONE reply using either an activemq client with
camel and a java stomp client.
--
View this message in context:
http://camel.465427.n5.nabble.com/Single-request-with-multiple-replies-over-TCP-tp5
Hello,
I am reading several times shiro documentation and camel docs, but I do not
understand a thing.
The problem I have seems simple: I need that a message is processed by a
component if the authenticated user is in a specified group.
So I setup shiro, is use .policy() in my dsl but what do I p
First thanks for your replies. Infact I have read documentation but now
I go deeper in detail to see if I understand well.
Imagine that I have five destinations where I send my message with
multicast().
Now before each destination I put a policy(). But I have five authorization
groups (one for ea
I add another problem, probably more serious.
In my client I insert a shiro security token with process(). I can see in
the log of the headers of the message: SHIRO_SECURITY_TOKEN and the string
with username and password encoded.
Unfortunately when I send it via activemq to the server/broker I l
Hi,
I have already looked at shirosecurityinjector source code to find the name
of the header it adds to the message. Here it is:
public ByteSource encrypt() throws Exception {
ByteArrayOutputStream stream = new ByteArrayOutputStream();
ObjectOutput serialStream = new ObjectOutput
Can you please show me the shiro.ini config of your example because it is the
most difficult thing to understand for me.
--
View this message in context:
http://camel.465427.n5.nabble.com/How-can-Shiro-be-used-with-camel-to-limit-access-to-a-route-tp5521623p5548182.html
Sent from the Camel - User
I have sent a message to the activemq server with shiro token header using
the stomp protocol and the header is correctly present in the camel routing
of my server.
--
View this message in context:
http://camel.465427.n5.nabble.com/How-can-Shiro-be-used-with-camel-to-limit-access-to-a-route-tp55
Thank but I see I cannot explain myself. The example you show is also shown
in the camel apache web site.
I cannot understand the syntax of that file expecially:
- can the "role" be linked to an ldap/ad group?
- when I am ringo in sec-level1 what does it mean that can I access "zone1"
readonly?
Hello,
2.9.1 is out and I am not yet able to use web console.
I badly need it to debug because jconsole/visualvm are uncomfortable to use.
Please tell me if there are any news about this.
Thanks,
Mario
--
View this message in context:
http://camel.465427.n5.nabble.com/Embedded-Web-Console-in-To
Hello,
I need to do a simple thing with shiro:
- users in group "foo" can travel in route "x";
- users in group "bar" can travel in route "y";
Yes I have read the docs. Yes I feel stupid.
No I do not need to now that I can add a .policy statement to my route.
I need a real example of the .ini fi
Hello,
I am getting confused because there are so many ways to do this thing.
I need that, in my route message X get copied n times to n different beans.
I need to choose which beans as recipientlist patterns says. Now I need that
each bean is parallel processed.
But I do NOT need absolutely mess
RubyTuesdayDONO wrote
>
> Mario,
>
> if you know in advance which beans will be consuming from the endpoint,
> you
> could define them statically using Multicast, without the dynamism of
> Recipient-List.
>
Thank you for your suggestions but the new requirements from my customer
implies a dy
Claus Ibsen-2 wrote
>
> Hi
>
> Sometimes you can also just use a bean method, and from there use the
> ProducerTemplate to send your messages wherever you want, and you can
> send multiple messages to X different endpoints etc. And you don't
> have to wait for replies as you can send the message
Ok I have found the bug:
ShiroSecurityTokenInjector creates a bytearray and puts it in the message
header.
The bytearray do not pass through openwire...
But the bytearray content is a string text with only ascii chars! So I
manually put it as an header of string type.
--
View this message in co
2012/4/6, Claus Ibsen-2 [via Camel] :
>
>
> On Thu, Apr 5, 2012 at 8:54 PM, mgiammarco wrote:
>> Ok I have found the bug:
>>
>> ShiroSecurityTokenInjector creates a bytearray and puts it in the message
>> header.
>>
>> The bytearray do not pass thro
Hello,
I am using shiro with camel. I can authenticate an user with activedirectory
(ldap) but I am not able to map user groups in roles to user permissions.
And camel needs absolutely permissions to work.
Here is my config.ini:
[main]
authcStrategy = org.apache.shiro.authc.pam.FirstSuccessfulStr
41 matches
Mail list logo