Thanks so much for your help - For anyone else trying to solve this I'll show
what I ended up doing that worked to map a Java date to a Bson date or
ISODate in MongoDB.
Created a custom serializer class:
public class BsonDateSerializer extends JsonSerializer{
@Override
public void serialize(Dat
I've created an example showing camel-ssh deployed in Karaf using
classpath and file based public key security.
https://github.com/scranton/example-security-camel-ssh
I'll try to clean it up shortly, and submit to camel either updating
existing camel-ssh example, or adding as a new example...
Th
I feel creative today, so I'll suggest the following.
AMQ supports Delayed Delivery of messages [1]. JMS 2.0 - which is in Public
Review Draft - also introduces this function as a first-class citizen in
the spec [2].
By using this approach, rather than blocking a thread waiting for the flag
to be
Thanks for the response. I agree I shouldn't put mocks into our int tests,
but the lovely code with this in it, I inherited.
I will be going the route of using the spring based registry. Looks like
exactly what I need and have had good luck with it so far.
Thanks again!
--
View this message in
I would not recommend to hold a camel route processing for a longer time
to wait for the db flag.
So I when the message comes in I would check the DB if the flag is set.
If yes I would proceed. If not I would store the message in a DB or
filesystem.
In another route I would poll the DB for the fla
On Fri, Feb 15, 2013 at 2:49 PM, cgsk wrote:
> Hi there,
>
> I am using camel http component for calling external webservice. For timeout
> I am setting httpClient.soTimeout=1 as a query parameter in the service
> url. But httpclient debug logs shows retries 3 times with a timeout of 20
> secs
We are planning to use Camel as a core component for a unified communication
engine we are planning to build. Please let us know of any existing work in the
space. Basically, from various enterprise system endpoints, we have to take
messages and route them to various communication endpoints (as
For each message that arrives on a queue, I want to kick-off a polling timer
to periodically check a specific database row *for that message*, checking
for a 'safeToContinue' flag changing value from 'false' to 'true'. Once the
corresponding flag in the database for that message (i.e. the message b
Hi there,
I am using camel http component for calling external webservice. For timeout
I am setting httpClient.soTimeout=1 as a query parameter in the service
url. But httpclient debug logs shows retries 3 times with a timeout of 20
secs (when unable establish connection to the host).
So even
Excellent! thanks for the QA ;-)
The camel-ssh doc clearly needs help, so any thoughts you have on how
to update based on your recent experience would be most appreciated...
On Fri, Feb 15, 2013 at 6:48 AM, Martin Stiborský
wrote:
> Woohoo, victory, thanks for the hint, Scott. ClassLoader was th
Woohoo, victory, thanks for the hint, Scott. ClassLoader was the magical
thing.
ResourceKeyPairProvider keyPairProvider = new ResourceKeyPairProvider(
new String[]{pathToTheKey}, null,
this.getClass().getClassLoader());
And camel-crypto, as new dependency, because org.bouncycastle
Hi Ron,
This is a very good question. It's more a MongoDB-specific question rather
than a Camel question, but here's what I know of the topic.
Take into account that the JSON spec doesn't define a standard
date/dateTime format (unlike XSD), hence there's no universal way to
recognise a JSON value
Have you tried setting the keyPairProvider to an instance of
org.apache.sshd.common.keyprovider.ResourceKeyPairProvider? That
should work better in OSGi, though I haven't tried it recently...
Re mulitple ids: you can add multiple component instances with
different ids (e.g. sshGit) and reference t
Often I found solution for a problem in few minutes after posting to
mailing list, so let's try the luck now :)
Currently I'm digging in the camel-ssh, because definitely there is problem
with referencing the key file from resources.
The very first thing I should do was enabling debug for camel-ss
One more weird thing, from the log file:
2013-02-15 08:58:22,582 | INFO | NioProcessor-21 | ClientSessionImpl
| 24 - org.apache.sshd.core - 0.8.0 | Session
n...@my-git.server.com/10.xx.xx.xx:22 closed
The "null"…I assume there should be username :)
On Fri, Feb 15, 2013 at 8:40 AM,
15 matches
Mail list logo