Hi there,
may there be any chance to get the netty Channel if i have an instance of
the route ?
Thanks,
Leomar
--
View this message in context:
http://camel.465427.n5.nabble.com/Get-Socket-Status-of-Netty4-Route-tp5773807p5774096.html
Sent from the Camel - Users mailing list archive at Nab
Configure it on the camel servlet component, and give it a new name
like servlet2 if you need to use different names
On Thu, Nov 19, 2015 at 8:34 AM, alexey-s wrote:
> From route builder
>
> component("servlet") use ServletComponent.
>
> How to specify the correct servletName?
>
>
>
> --
> View t
>From route builder
component("servlet") use ServletComponent.
How to specify the correct servletName?
--
View this message in context:
http://camel.465427.n5.nabble.com/OSGi-CamelHttpTransportServlet-error-tp5774062p5774094.html
Sent from the Camel - Users mailing list archive at Nabble.com.
One OSGi bundle can be regarded as a WAR or EAR module in the JavaEE server.
I'm talking about the fact that in different modules can not use servlets
with the same name.
The fact that the component camel-servlet comprises a static cache
And he's one for all the modules.
Something similar can be c
Hello!
>From what I understand the code written to register servlets registers
servlet with the OSGI's Web container at runtime. Since there is only one
instance of the webcontainer available within the container you are ending
up wiring different servlet instances against the same servlet name wh
I am using Camel in the integration Project to connect it to the Http
Endpoint. Now I am trying to implement a scenario such as when ever there is
an exception while connecting to the HTTP endpoint , I should use the status
code to decide whether to try re-delivery or else continue the route. Here
I have camel route defined in a spring context file. It works fine when the
spring context file is inside a KAR.
Now I am trying to deploy the same KAR but with configuration to place the
spring context file outside KAR in Karaf server at, KARAF_HOME/deploy-route,
now I get the following error dur
It should be in spring-batch-integration.
> On 18 Nov 2015, at 18:52, deepak_a wrote:
>
> Hi,
>
> I have made a thorough search but unable to find
> docs.spring.io/spring-batch/apidocs/org/springframework/batch/container/jms/BatchMessageListenerContainer.html
>
> in the spring-batch/spring-ba
Hi,
I have made a thorough search but unable to find
docs.spring.io/spring-batch/apidocs/org/springframework/batch/container/jms/BatchMessageListenerContainer.html
in the spring-batch/spring-batch-core library. (although the javadocs says
its available)
I don't see the package org/springframewo
I need to process events from thousands of logical streams (discriminated by
request.body.partitionKey) in order by stream. In other words, events from a
particular stream need to be processed in strict order, however, events
between the streams can be processed asynchronously.
To accomplish this
Hi,
if running your app in OSGi and the Stack-Trace comes from a test using
CamelBlueprintTestSupport, this is a know bug.
Please provide some more details like camel context XML.
Greetz
Andreas
2015-11-18 8:51 GMT+01:00 ehsiung :
> It seems that Camel Restlet component is not resolving sslCon
I don't know of any public / shareable example of setting a custom
MessageListenerContainer unfortunately.
That being said, from the Camel route standpoint, you should write something
like:
from://jms?consumerType=Custom&messageListenerContainerFactoryRef=…
This is documented in http://camel.a
Hi,
Thanks for the reply, the XA connection factory is in place,
Can you pls point to an example on how to override the default
messageListener?
(I have checked in forum - I am not able to see anyone done this in the
past)
regards
D
--
View this message in context:
http://camel.465427.n5.nab
I use two different OSGi component.
Each writing
I see an error
It turns out that the two OSGi components must not only be different version
of the component, but also the name of the servlet.
This is clearly a mistake.
The second error
I give unique names to each servlet.
I see an error
By separating your integration concerns into separate bundles, you can
update each bundle separately without redeploying and restarting all the
Camel routes. Your bundles can speak through JMS (separate machines), or
they can even use the direct-vm endpoint (all in the same OSGi instance,
just sepa
In your java method readFileStream
public void "readFileStream(FileInputStream is) {
.. read the file in chunks as you wish
}
You can also look at the splitter eip in streaming mode, and provide
some expression that reads X chunks of bytes or split the big file in
X number of lines or something.
Thank you for the answer
I didn't really understand, how i can i add a parameter to a bean ? ( Also
should i keep the property CamelCachedOutputStreamBufferSize ? )
Can you give me an example please.
Thank you.
--
View this message in context:
http://camel.465427.n5.nabble.com/Is-There-a
If you want them to be indpendent you can use wire-tap EIP instead of
multicast. As the multicast would need to wait for all 3 to complete
before its fully done. Although you can use its timeout option to let
the others continue, but it may get a bit complicated. If all you want
is to send the mess
You can just use FileInputStream or File etc as the parameter in your
readBean then the file is not loaded into memory.
Also there is the stream component but its not exactly the same as the
file component
http://camel.apache.org/stream
On Wed, Nov 18, 2015 at 3:00 PM, kikou1984 wrote:
> I m u
I m using apache Camel to treat files.
However, i m asking if i can split a file depending on the number of byte.
For exemple , if i have a file with a size like 1 GO, is that possible to
read it by block of 10 MO. (with a parameter that defines the size of a
block)
Is there a component Camel EI
You could use BatchMessageListenerContainer [1] instead of
DefaultMessageListenerContainer.
An option to provide a specific MessageListenerContainer is to used the
'consumerType' parameter from the JMS component and set it to 'Custom' and
provide the option 'messageListenerContainerFactoryRef'
Hi,
As mentioned in my previous post - I am developing a bridge that will set
b/w ActiveMQ and TIBCO EMS.
My aim is to use a XATransactionManager (like Atomikos) that will be common
for the JMS Session that will consume from ActiveMQ and the JMS Session that
will be publish to TIBCO EMS.
With th
i created a little app that provides some services via rest. I am using rest
dsl with restlet component (i hav no problem if i have to switch).
No i want to secure it with basic auth so that i can provide the credentials
in url: http://user:p...@myservice.com/getsome
I tried it to set it up as de
You can try the exec command afterwards to run a chmod command that
changes the permission.
http://camel.apache.org/exec
On Wed, Nov 18, 2015 at 11:58 AM, calyan.bandi wrote:
> Hi,
>
> I have a requirement where in my route creates a file and writes some data
> into it. The file is getting create
Hi everyone,
Recently, I have created and tested the following flow on camel version
2.15 (i.e. sending msg to multiple remote ActiveMQ brokers):
All works fine if all activemq bro
Hi,
I have a requirement where in my route creates a file and writes some data
into it. The file is getting created successfully with default permissions
which is 0600. I want the file permissions to be changed to 0777 so that
applications running for different users can also have their hands on t
Hi,
I am having two different consumers for single endpoint. One consumer needs
the response back while other does'nt want the response to be sent back. Is
there is any way that on runtime depending on the consumer I can make
DisableReplyTo=true. Or any other way to achieve the same.
Regards,
Re
Hi,
I have following route, generating the BeanInvocation manually. I am still not
sure if that was necessary for ws call.
1)
from("direct:listCustomers")
.bean(Handler.class,"handleForward")
.bean(SOAPToBagTransformer.class)
.bean(QoSHandler.clas
28 matches
Mail list logo