Apache Camel vs Apache Storm

2018-02-15 Thread Pavel Sapozhnikov
rposes? Thanks Pavel

Re: Impossible to configure HttpBinding for ServletComponent

2014-11-24 Thread Pavel Lechev
mail to avoid confusion, but I am assuming if no other ServletComponent-s are defined the ID string is irrelevant as long as properly referenced. Claus Ibsen-2 wrote > Just define a new component for rest. > > > On Mon, Nov 24, 2014 at 10:26 AM, Pavel Lechev < > p.lechev@ > &g

Re: Impossible to configure HttpBinding for ServletComponent

2014-11-24 Thread Pavel Lechev
Hi Claus, Thanks for your response. Am I to understand that the REST DSL in combination with the `servlet` consumer does not allow setting a custom HttpBinding? If so, I believe this is a huge limitation given that these two are very commonly used together. It is also not very clear from the docum

Impossible to configure HttpBinding for ServletComponent

2014-11-21 Thread Pavel Lechev
Hi all, I think this is a genuine bug, but I thought to post it here in the first instance. Camel v2.14.0 The call to endpoint.setBinding(new ServletRestHttpBinding()); on line 208 in org.apache.camel.component.servlet.ServletComponent overwrites the binding previously configured during the endpo

Re: Low Latency

2011-04-10 Thread Pavel
different jms options / concurrency setup / number of nodes. Thanks, Pavel On Thu, Apr 7, 2011 at 6:21 PM, fridlyos wrote: > Hello > > I'm fairly new to Camel, and hoping I can get some insights into this... > > I'm need to design and system, which has as low latency

Re: Idea for camel-scala DSL enhancement.

2011-01-04 Thread Pavel
Take a look at *CAMEL-3491<https://issues.apache.org/jira/browse/CAMEL-3491> - it is proposed DSL enhancement that I was able to come up with; patch and examples are in jira.* Thanks, Pavel On Thu, Dec 23, 2010 at 4:55 PM, Claus Ibsen wrote: > On Tue, Dec 21, 2010 at 7:29 PM, Pav

Re: Idea for camel-scala DSL enhancement.

2010-12-21 Thread Pavel
GeneratedName?period=equivalentInMs)" Thanks, Pavel On Mon, Dec 20, 2010 at 8:20 AM, Claus Ibsen wrote: > Hi Pavel > > Great work. We would love help and contributions with the Scala DSL. > I think we should ty to unify how you specify period / time as you suggest. > &g

Idea for camel-scala DSL enhancement.

2010-12-17 Thread Pavel
ot;, e.g. * throttle (3 per (1 second)) * throttle (3 per (1 minute 30 seconds)) So, for you scala DSL users, does it sound like a useful enhancement and reasonable tradeoff? Thanks, Pavel

SMPP sourceAddrNpi bug.

2010-09-03 Thread Pavel Suhotyuk
Hello. I found bug and fix it in camel-smpp module. Where SmppBinding has no found property CamelSmppSourceAddrNpi in message, it put destAddrNpi config value for SMS property sourceAddrNpi. http://camel.465427.n5.nabble.com/file/n2801906/CamelSmppSourceAddressNpi.patch CamelSmppSourceAddressNp

Re: SMPP data encoding.

2010-09-02 Thread Pavel Suhotyuk
Thank you very mach! You very help me. -- View this message in context: http://camel.465427.n5.nabble.com/SMPP-data-encoding-tp2798167p2801770.html Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.

SMPP data encoding.

2010-08-31 Thread Pavel Suhotyuk
Hello, I have to send SMS with message body in UCS2 encoding. According to SMPP spec v3.4, "data_coding" must contain b1000 UCS2 (ISO/IEC-10646) value. I've set the "encoding" parameter in the connection string to UTF-16, but it seems that camel-smpp plugin is always sending b0001 IA5 (CC

Re: SMPP type connection.

2010-08-31 Thread Pavel Suhotyuk
We haven't time to analyze jsmpp library. We switch connection to transmitter/receiver mode. Thank you. -- View this message in context: http://camel.465427.n5.nabble.com/SMPP-type-connection-tp2796517p2798133.html Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.

SMPP type connection.

2010-08-30 Thread Pavel Suhotyuk
Hello, I have to connect to SMS center with "transceiver" connection type. I've supposed that "systemType" parameter is exactly responsible for that, but my SMS provider told me that this parameter must not be set at all. For now, how i should properly configure camel-smpp plugin for transmitter

Re: SMPP messages persistent delivering.

2010-08-05 Thread Pavel Suhotyuk
Thank you very much. -- View this message in context: http://camel.465427.n5.nabble.com/SMPP-messages-persistent-delivering-tp2262980p2265172.html Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.

SMPP messages persistent delivering.

2010-08-03 Thread Pavel Suhotyuk
Hello. I try configure ActiveMQ to sending and receiving SMS via camel-smpp plugin. I using the simulator provided by Logica as SMSC for testing. Messages is delivering successfully when SMSC is running, but when SMSC is down (for example, network is down) messages is dequeued automati

Re: File component/language: preMove only

2010-07-30 Thread Pavel
Cool - thanks a lot. Yes, seems like preMove is a bit special indeed - it addresses technical issue of concurrency as opposed to functional requirements of file placement after processing... Pavel On Wed, Jul 28, 2010 at 12:31 PM, Claus Ibsen wrote: > I created a ticket to track this >

Re: File component/language: preMove only

2010-07-23 Thread Pavel
file component. Thanks, Pavel On Fri, Jul 23, 2010 at 10:09 AM, Claus Ibsen wrote: > Hi > > Have you tried with move=. to indicate current folder? > > But no its, not a feature of camel to only pre move and then noop. > > > > On Fri, Jul 23, 2010 at 9:03 AM, Pavel wr

File component/language: preMove only

2010-07-23 Thread Pavel
thing will default to ".camel", and adding "&noop=true" disables preMove. Is there something in file language that allows setting nulls? Or is there a way to have preMove without move for file component? -- Best regards, Pavel

Re: Camel/scala + transactional routes

2010-06-19 Thread Pavel
I've just touched scala, thanks to camel-scala module. If it happens so that I get enough knowledge/understanding of scala to make contributions of sufficient quality, I'll do that. On Tue, Jun 15, 2010 at 7:12 AM, Claus Ibsen wrote: > On Mon, Jun 14, 2010 at 1:33 PM, Pavel

Camel/scala + transactional routes

2010-06-14 Thread Pavel
ssible to define route as transactional without DSL? (My case is jms -> jms, scala-backed "configuration" + Interpreter) Thanks, Pavel

Re: Throttler & mock endpoint question

2010-04-10 Thread Pavel
ing is the case 1. My code or test is incorrect 2. There is an issue with throttler 3. There is an issue with mock endpoint 4. Mock endpoint by design is not the right tool for the job If #3 or #4, I'll need different approach to testing. Otherwise implementation needs to be changed. Thanks

Re: Throttler & mock endpoint question

2010-04-10 Thread Pavel
100% precise, as I was giving limited number of tries for each case. BTW, camel 2.2.0, activemq-camel 5.3.1. Thanks, Pavel On Sat, Apr 10, 2010 at 2:31 PM, Claus Ibsen wrote: > Hi > > Can you try with > targetMock.assertIsSatisfied(1000); > > > On Sat, Apr 10, 2010

Throttler & mock endpoint question

2010-04-10 Thread Pavel
;2> but was: <3> 3: passed 4: passed 5: passed 6: passed 7: Expected: <7> but was: <6> 8: Expected: <8> but was: <6> 9: Expected: <9> but was: <6> 10: Expected: <10> but was: <6> Can you please explain that? Is it some sort of mock endpoint specifics? I'd like my test to be fairly strict, as the goal is to verify that route meets SLA... Thanks, Pavel

Re: RecipientList + Choice no longer work together in Camel 2.2.0?

2010-03-22 Thread Pavel Drasil
Thank you for both the explanation and creating the ticket. Pavel Claus Ibsen-2 wrote: > > Yeah it should be possible to fix that for 2.3. > But in the long run using Scala etc. for DSL will allow a much better > foundation for that than what Java and its _somewhat poor_ generics

Re: JAXB marshaller & control characters

2010-01-12 Thread Pavel
Ha, I thought EasyMock was alreay a framework of choice. As that's not the case, I'm going to give Mockito a try and convert camel-jaxb tests. If all goes well I'll get back with a patch after the weekend. Thanks, Pavel On Sat, Jan 9, 2010 at 7:48 AM, Claus Ibsen wrote: > O

Re: JAXB marshaller & control characters

2010-01-08 Thread Pavel
ing option needs to be applied to #1 only. Thanks, Pavel On Fri, Jan 8, 2010 at 11:47 AM, Willem Jiang wrote: > Hi Pavel, > > I think it is OK for us use EasyMock 2.5 as it just for testing. > Look forward your XmlStream* solution :) > > Willem > > > > Pavel wrote: &

Re: JAXB marshaller & control characters

2010-01-08 Thread Pavel
Hi, I attached test to JIRA. I'll see if I can put together Xml-based approach; will write back on that. BTW, do you guys have any objections against updating EasyMock dependency to 2.5? Thanks, Pavel On Fri, Jan 8, 2010 at 5:37 AM, Willem Jiang wrote: > Hi Pavel, > > It&

Re: JAXB marshaller & control characters

2010-01-07 Thread Pavel
ndicates that issue - unless I missed something and set incorrect expectations. Hope this makes sense. Pavel On Thu, Jan 7, 2010 at 6:43 PM, Pavel wrote: > Hi Willem, > > I'm looking into it. It could take some time due to holidays I have, but > I'll come back with feedb

Re: JAXB marshaller & control characters

2010-01-07 Thread Pavel
Hi Willem, I'm looking into it. It could take some time due to holidays I have, but I'll come back with feedback as soon as I have it. Pavel On Thu, Jan 7, 2010 at 10:49 AM, Willem Jiang wrote: > Hi Pavel, > > I committed the patch for CAMEL-2330, You can find the JaxbFilte

Re: JAXB marshaller & control characters

2010-01-01 Thread Pavel
I found a few relevant links: http://old.nabble.com/UTF-8-characters-jaxb-td25531336.html#a25531336 http://www.w3.org/TR/2004/REC-xml-20040204/#NT-Char Seems like this topic was discussed already, but I'm not if relevant replacement mechanism made it into camel. Pavel On Thu, Dec 31, 2009

JAXB marshaller & control characters

2009-12-31 Thread Pavel
rcise with CXF, there it was took creating custom XMLStreamWriter and using outbound interceptor to replace original writer with custom one. Thanks, Pavel

Re: Per-component error handling

2009-12-21 Thread Pavel
t; > > On Mon, Dec 21, 2009 at 4:21 PM, Pavel wrote: > > Hi, > > > > Is subj still possible? My specific case is that I want to forward > message > > to DLQ if error happened in JAXB unmarshaller, but redeliver for > everything > > else. > > In Camel

Per-component error handling

2009-12-21 Thread Pavel
te is activemq -> unmarshal -> bean -> marshal -> (reply-to destination) Thanks, Pavel

JMS component concurrent consumers config

2009-11-16 Thread Pavel
cifies the maximum number of concurrent consumers. Can someone please clarify how camel decides on number of concurrent consumers, what affects this number, and how the params above are relevant? Thanks, Pavel