RE: Hazelcast Component question

2020-02-10 Thread Gershaw, Geoffrey A.
IT Global Loans Dev - RL +1 919 994 6412, (*102 6412) -Original Message- From: Claus Ibsen Sent: Saturday, February 8, 2020 2:26 AM To: users@camel.apache.org Subject: Re: Hazelcast Component question On Fri, Feb 7, 2020 at 10:25 PM Gershaw, Geoffrey A. wrote: > > Thank you for

RE: Hazelcast Component question

2020-02-07 Thread Gershaw, Geoffrey A.
an Hazelcast.getOrCreateHazelcastInstance(config) and then set the instance on your component. Il giorno gio 6 feb 2020 alle ore 19:21 Gershaw, Geoffrey A. < geoffrey.gers...@credit-suisse.com> ha scritto: > Hi All, > > The samples on the component's webpage do not include where to put the &g

Hazelcast Component question

2020-02-06 Thread Gershaw, Geoffrey A.
Hi All, The samples on the component's webpage do not include where to put the IP address/port of the hazelcast node? Could someone share how to configure it or update the webpage? Thanks Geoffrey A Gershaw CREDIT SUISSE SECURITIES (USA) LLC CS Sec USA LLC | Credit IT Global Loans Dev - RL,

Hazelcast Component question

2020-02-04 Thread Gershaw, Geoffrey A.
Hi All, The samples on the component's webpage do not include where to put the IP address/port of the hazelcast node? Could someone share how to configure it? Thanks Geoffrey A Gershaw CREDIT SUISSE SECURITIES (USA) LLC CS Sec USA LLC | Credit IT Global Loans Dev - RL, VIHE 33 6933 Louis

Retrieve all properties in CamelContext

2016-08-16 Thread Gershaw, Geoffrey A.
Hello, I have seen the question asked, but I don't see a clean solution to get all the properties from a CamelContext so that I may print them out. I'm using the BridgePropertyPlaceholderConfigurer. I am at Camel 2.16.x. Any advice is appreciated Thanks much, Geoff

Automatic Type Conversion of FIX Messages working as expected?

2016-03-24 Thread Gershaw, Geoffrey A.
Hello All, I am using camel 2.16.x. I wrote a quickfixj server, an acceptor in quickfixj terms. I receive a message from quickfij, use a filter to determine the message is a BusinessMessageReject and call the below method public void handleReject(final BusinessMessageReject rejectMsg) I get

Checking the body type of an exchange using simple

2016-02-25 Thread Gershaw, Geoffrey A.
Hello, I am trying to use header.type in simple to determine the type of the body. I have tried many variations of header ie (in.header, headers) etc, but it always seems like type and BodyType are empty or null. I have tried with Camel 2.16.1 and 2.16.2. I assume I'm missing something basic.

Managing scheduled jobs programmatically in Camel

2015-01-22 Thread Gershaw, Geoffrey A.
Hello, A quick update to this. Would the camel approach to managing Quartz jobs programmatically be: 1.For every new job, create a new route dynamically. The quartz endpoint would be configured dynamically by creating the option string programmatically. Something like this: a.

Managing scheduled jobs programmatically in Camel

2015-01-21 Thread Gershaw, Geoffrey A.
Hello All, I'm using camel 2.14.1 and have the following use case that I can't figure out how to solve in a Camel way. 1.We receive XML messages from JMS and convert them to FIX and send them to a quickfixj endpoint. No questions there. 2.The XML message may contain a frequency tag.

XPATH woes

2014-11-13 Thread Gershaw, Geoffrey A.
Hi All, I'm trying to filter via xpath using the spring config. I'm running camel 2.12.3. An example msg Envelope xmlns=http://removed xmlns:bem=http:/removed xmlns:price=http://removed; messageId=xx schemaVersion=1.0 instanceId=xx publishMessageDtm=2014-11-13T22:27:07+00:00

JMS Component -Tibco specific option

2013-10-24 Thread Gershaw, Geoffrey A. (KFFC 223)
Hi Camel Riders, Has anyone ever had to set Tibco or other implementation specific options for JMS on the publisher? I don't see any examples of how to do that on the web page. Specifically, I would like to do publisher.setDeliveryMode(com.tibco.tibjms.Tibjms.RELIABLE_DELIVERY) We use camel

RE: JMS Component -Tibco specific option

2013-10-24 Thread Gershaw, Geoffrey A. (KFFC 223)
groupIdcom.tibco.ems/groupId artifactIdtibjms/artifactId version5.0.0/version scoperuntime/scope /dependency and the following jar on our classpath: tibjms-5.0.0.jar HTH Thanks, Paul On Thu, Oct 24, 2013 at 1:11 PM, Gershaw, Geoffrey A. (KFFC 223) geoffrey.gers...@credit

RE: JMS Component -Tibco specific option

2013-10-24 Thread Gershaw, Geoffrey A. (KFFC 223)
We've fixed this for deliveryMode in upcoming 2.12.2 / 2.13 On Thu, Oct 24, 2013 at 10:11 AM, Gershaw, Geoffrey A. (KFFC 223) geoffrey.gers...@credit-suisse.com wrote: Hi Camel Riders, Has anyone ever had to set Tibco or other implementation specific options for JMS on the publisher? I

Crashing on Startup

2013-10-23 Thread Gershaw, Geoffrey A. (KFFC 223)
Hello All, I am running Camel 2.11.0 and it appears it crashed this AM. This is all we have in the log. The dump must be moved somewhere to conserve disk. Any thoughts? Thanks 02:00:12,387 [main] INFO com.csfb.fid.credit.cds.MainSpring - Starting Camel. Use ctrl + c to terminate the JVM.

RE: Simple Language Question

2013-09-16 Thread Gershaw, Geoffrey A. (KFFC 223)
-us.apache.org/repos/asf?p=camel.git;a=blob;f=camel-core/src/test/java/org/apache/camel/component/seda/SedaSimpleSizeTest.java;hb=0c1b2c53 On Fri, Sep 13, 2013 at 7:11 PM, Gershaw, Geoffrey A. (KFFC 223) geoffrey.gers...@credit-suisse.com wrote: Sorry, I should have said this 2.11 Geoffrey A Gershaw

RE: ProducerTemplate without using Spring

2013-09-16 Thread Gershaw, Geoffrey A. (KFFC 223)
Hi, Not a camel solution, but couldn't you load it once on startup of your app and keep it in an instance controlled class or singleton? Geoffrey A Gershaw Credit eTrading Development +1 919 994 6412 (*102 6412) -Original Message- From: Achim Nierbeck [mailto:bcanh...@googlemail.com]

RE: Simple Language Question

2013-09-13 Thread Gershaw, Geoffrey A. (KFFC 223)
What Camel version do you use? On Thu, Sep 12, 2013 at 6:03 PM, Gershaw, Geoffrey A. (KFFC 223) geoffrey.gers...@credit-suisse.com wrote: Hello, I am trying to print the size of a seda queue in a log statement. See my attempt below. I need to get hold of the Context so I can lookup the seda

Simple Language Question

2013-09-12 Thread Gershaw, Geoffrey A. (KFFC 223)
Hello, I am trying to print the size of a seda queue in a log statement. See my attempt below. I need to get hold of the Context so I can lookup the seda endpoint. I thought I could do this via the Exchange. I can seem to get a hold of that either. Anyone know how to get a reference to the

RE: Enums in spring config not working

2013-08-01 Thread Gershaw, Geoffrey
Hi, Just wondered if someone could verify that enums work in spring using simple. Please see below Geoffrey A Gershaw Credit eTrading Development +1 919 994 6412 (*102 6412) -Original Message- From: Gershaw, Geoffrey Sent: Wednesday, July 31, 2013 8:36 AM To: users@camel.apache.org

RE: Enums in spring config

2013-07-31 Thread Gershaw, Geoffrey
. Apache Camel: https://www.apache.org/foundation/ Apache Member: https://www.apache.org/foundation/members.html https://www.linkedin.com/pub/christian-mueller/11/551/642 On Tue, Jul 30, 2013 at 10:20 PM, Gershaw, Geoffrey geoffrey.gers...@credit-suisse.com wrote: Hello All, I was under

Enums in spring config

2013-07-30 Thread Gershaw, Geoffrey
Hello All, I was under the impression that enums can now be specified in the Spring config as in the below example. Having issues. Any advice? simple${header.EventCategory} == ${type:org.apache.camel.component.quickfix.QuickfixjEventCategory.AppMes sageReceived}/simple

RE: Enums in spring config

2013-07-30 Thread Gershaw, Geoffrey
/in/raulkripalani http://blog.raulkr.net | twitter: @raulvk On Tue, Jul 30, 2013 at 9:20 PM, Gershaw, Geoffrey geoffrey.gers...@credit-suisse.com wrote: Hello All, I was under the impression that enums can now be specified in the Spring config as in the below example. Having issues. Any advice

Spring Config. Referencing a bean created in a route

2013-07-26 Thread Gershaw, Geoffrey
Hello All, I am trying to use the pollingConsumer. You need to inject the consumerTemplate into your bean. I figured that since consumerTemplate is defined within the camel context, I need to define my bean within the context. When I do this, I can't reference this bean using bean ref... .

RE: Spring Config. Referencing a bean created in a route

2013-07-26 Thread Gershaw, Geoffrey
://www.apache.org/foundation/ Apache Member: https://www.apache.org/foundation/members.html https://www.linkedin.com/pub/christian-mueller/11/551/642 On Fri, Jul 26, 2013 at 3:38 PM, Gershaw, Geoffrey geoffrey.gers...@credit-suisse.com wrote: Hello All, I am trying to use the pollingConsumer

Socket Programming and Camel

2013-07-26 Thread Gershaw, Geoffrey
Hi All, I'm giving up on being able to send a message to a socket and receive several messages in response from Mina. Looking at Netty, and it looks to be the same issue. Goal: 1. Send a msg over a socket to a server. 2. On the same port, receive n msgs in response to the request.

RE: Mina Component Question

2013-07-25 Thread Gershaw, Geoffrey
://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜宁willem On Thursday, July 25, 2013 at 10:09 AM, Gershaw, Geoffrey wrote: Hello All, I am

RE: Mina Component Question

2013-07-25 Thread Gershaw, Geoffrey
[mailto:christian.muel...@gmail.com] Sent: Thursday, July 25, 2013 1:37 PM To: users@camel.apache.org Subject: RE: Mina Component Question How does Mina support this use case? Best, Christian Am 25.07.2013 14:45 schrieb Gershaw, Geoffrey geoffrey.gers...@credit-suisse.com: Hi Willem, Thanks

Mina Component Question

2013-07-25 Thread Gershaw, Geoffrey
Hello All, Sorry for the re-post. I am using the mina component as a client to connect to server. The interaction between the client and server is sometimes request reply, but it can also be request and listen. I understand how to implement the request and reply scenario.

Mina Component Question

2013-07-24 Thread Gershaw, Geoffrey
Hello All, I am using the mina component as a client to connect to server. The interaction between the client and server is sometimes request reply, but it can also be request and listen. I understand how to implement the request and reply scenario. How do I listen to the mina

RE: Hello World? Maybe not :)

2013-07-19 Thread Gershaw, Geoffrey
, such that one Camel route can call another directly without resorting to any external protocols. You want to use the Timer component instead, as you rightly noticed already. HTH, Raúl. On Thu, Jul 18, 2013 at 11:37 PM, Gershaw, Geoffrey geoffrey.gers...@credit-suisse.com wrote: I'm running

Hello World? Maybe not :)

2013-07-18 Thread Gershaw, Geoffrey
Hi All, I have the simplest problem that apparently I can't figure out. I've never used direct:start as an endpoint before and I can't seem to get it to work the way I would expect it to. My config is below . I would like the route to start and print hello world. Seems easy. What am I

RE: Hello World? Maybe not :)

2013-07-18 Thread Gershaw, Geoffrey
it, as documented from the link above. On Thu, Jul 18, 2013 at 6:40 PM, Gershaw, Geoffrey geoffrey.gers...@credit-suisse.com wrote: Hi All, I have the simplest problem that apparently I can't figure out. I've never used direct:start as an endpoint before and I can't seem to get it to work

RE: Hello World? Maybe not :)

2013-07-18 Thread Gershaw, Geoffrey
://www.linkedin.com/in/raulkripalani http://blog.raulkr.net | twitter: @raulvk On Thu, Jul 18, 2013 at 6:40 PM, Gershaw, Geoffrey geoffrey.gers...@credit-suisse.com wrote: Hi All, I have the simplest problem that apparently I can't figure out. I've never used direct:start as an endpoint before and I

Google Protobuf DataFormat

2013-06-11 Thread Gershaw, Geoffrey
Hello all, I receive a JMS BytesMessage that contains the byte array of a Protobuf. I am then using the unmarshal tag to deserialize the protobuf. The route is below. I get an InvalidPayloadException. Seen below 1 caught: org.apache.camel.InvalidPayloadException: No body available of

Simple languange FQN Enum 2.10.3

2013-02-19 Thread Gershaw, Geoffrey
Hi all, I am trying to use an enum in a simple expression in the Spring DSL . I see that it will be possible to do this in 2.11. Is there a workaround till then? Right now I'm using a String literal. From the doc type:name.field Object Camel 2.11: To refer to a type or field by its

RE: Route Dependency in XML DSL + JPA

2013-01-18 Thread Gershaw, Geoffrey
=quickfix:config?. / /route Maruan Sahyoun Am 14.01.2013 um 19:55 schrieb Gershaw, Geoffrey geoffrey.gers...@credit-suisse.com: Thanks for responding. Unfortunately, this doesn't show any XML DSL example. Is it possible in XML? -Original Message- From: Maruan

JPA Component Behavior

2013-01-18 Thread Gershaw, Geoffrey
Hello once more, So I read in the documentation that the jpa component polls the db. Kinda a poor man's queue. I had hoped that this behavior would be configurable. I don't want to poll. I just want to retrieve the entities 1 time. I would think the jpa component could do this. It

Camel 2.10.3 ExchangeHelper.getMandatoryInBody is deprecated

2013-01-17 Thread Gershaw, Geoffrey
Hello All, Apologies for the childishly simple question. J I moved to 2.10.3 and I can't seem to locate the new javadoc on your site. Is this an oversight? Thanks Geoffrey A Gershaw === Please access the

Route Dependency in XML DSL

2013-01-14 Thread Gershaw, Geoffrey
Hello Camel Riders, I have a route that I would like to start once another route is finished. I know I could change the jpa component into a custom bean, but I want to do it the camel way J. I would essentially like to start Route B From A. IF they both start at the same time, the world may

RE: Route Dependency in XML DSL

2013-01-14 Thread Gershaw, Geoffrey
[mailto:bibr...@gmail.com] Sent: Monday, January 14, 2013 11:17 AM To: users@camel.apache.org Subject: Re: Route Dependency in XML DSL Hi Geoffrey, what do you mean by route is finished ? Do you want to call route B at the end of rotue A? Bilgin On 14 January 2013 14:58, Gershaw, Geoffrey

RE: Route Dependency in XML DSL

2013-01-14 Thread Gershaw, Geoffrey
creating exchanges. Therefore, I don't think it should start till A finishes. Unless you could use some type of locking Mechanism. -Original Message- From: Gershaw, Geoffrey Sent: Monday, January 14, 2013 12:40 PM To: users@camel.apache.org Subject: RE: Route Dependency in XML DSL Yes

RE: Error loading Quickfixj 1.5.2-all component sporatically

2012-08-30 Thread Gershaw, Geoffrey
://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: willemjiang On Tuesday, August 28, 2012 at 12:06 AM, Gershaw, Geoffrey wrote: Hello All, We are using camel 3.1 for trading over a FIX connection. Every once in a while, the app stalls on startup.. We are not seeing any

RE: How to use Quickfix component

2012-08-30 Thread Gershaw, Geoffrey
Message- From: Mohammad Shadab Ali [mailto:mohammad@headstrong.com] Sent: Thursday, August 30, 2012 12:17 AM To: Gershaw, Geoffrey; users@camel.apache.org Subject: RE: How to use Quickfix component Hi Gershaw, I want to use the camel quickFIX/J component which uses the QuickFIX/J FIX engine

Error loading Quickfixj 1.5.2-all component sporatically

2012-08-27 Thread Gershaw, Geoffrey
Hello All, We are using camel 3.1 for trading over a FIX connection. Every once in a while, the app stalls on startup.. We are not seeing any OutOfMemoryExceptions. We dropped a thread dump and I'm not seeing anything obvious. BTW Dropping the thread dump causes the app to wakeup and have no

RE: Simple language question

2012-06-19 Thread Gershaw, Geoffrey
994 6412 -Original Message- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: Monday, June 18, 2012 11:35 PM To: users@camel.apache.org Subject: Re: Simple language question On Mon, Jun 18, 2012 at 11:49 PM, Gershaw, Geoffrey geoffrey.gers...@credit-suisse.com wrote: Hello all

Simple language question

2012-06-18 Thread Gershaw, Geoffrey
Hello all, I am using the Spring DSL with the Filter EIP. The below snippet works, but its confusing. I am trying to include a msg with a non-null body the outcome of bean:CXRefDataCache?method=put equals false. Is there a cleaner way? filter !-- Only process valid (non-null)

RE: Unit testing a method with Exchange as a Param

2012-05-25 Thread Gershaw, Geoffrey
code... Best, Christian On Thu, May 24, 2012 at 11:31 PM, Gershaw, Geoffrey geoffrey.gers...@credit-suisse.com wrote: Hello all, I am trying to unit test the following method, which is essentially the Sending to multiple JMS destinations from one endpoint example from the camel website

RE: Unit testing a method with Exchange as a Param

2012-05-25 Thread Gershaw, Geoffrey
as a Param You are welcome. And replace in my last post CamelContext ctx = new CamelContext(); with CamelContext ctx = new DefaultCamelContext(); It was a bit too late yesterday... ;-) Best, Chrostian Sent from a mobile device Am 25.05.2012 14:15 schrieb Gershaw, Geoffrey geoffrey.gers...@credit

Unit testing a method with Exchange as a Param

2012-05-24 Thread Gershaw, Geoffrey
Hello all, I am trying to unit test the following method, which is essentially the Sending to multiple JMS destinations from one endpoint example from the camel website. Since the Exchange object is a param and contains the result, I'm having trouble Mocking it. The below test fails at the ***

RE: JMS Endpoint Reuse and sending to different destinations @ Runtime

2012-04-27 Thread Gershaw, Geoffrey
to create destination -Original Message- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: Friday, April 27, 2012 1:58 AM To: users@camel.apache.org Subject: Re: JMS Endpoint Reuse and sending to different destinations @ Runtime On Thu, Apr 26, 2012 at 11:02 PM, Gershaw, Geoffrey

RE: JMS Endpoint Reuse and sending to different destinations @ Runtime

2012-04-26 Thread Gershaw, Geoffrey
. javax.jms.InvalidDestinationException: Not allowed to create destination You may need to create the destination on the JMS broker using its admin interface for that. On Wed, Apr 25, 2012 at 9:11 PM, Gershaw, Geoffrey geoffrey.gers...@credit-suisse.com wrote: Hello, I am trying to do what the subject

JMS Endpoint Reuse and sending to different destinations @ Runtime

2012-04-25 Thread Gershaw, Geoffrey
Hello, I am trying to do what the subject of this mail says. I have looked at the documentation on the JMS component @ http://camel.apache.org/jms.html. I have a collection of Publishable objects. Publishable objects have 1. A method that returns the Topic name postfix. 2.

JMS Endpoint Reuse and sending to different destinations at runtime(Didn't make it to the list 1st time)

2012-04-25 Thread Gershaw, Geoffrey
Hello, I am trying to do what the subject of this mail says. I have looked at the documentation on the JMS component. I have a collection of Publishable objects. Publishable objects have 1. A method that returns the Topic name postfix. 2. A method that returns a

Splitter Spring Config

2012-04-19 Thread Gershaw, Geoffrey
Hello All, I am trying to use my pojo to do the splitting as mentioned http://camel.apache.org/splitter.html http://camel.apache.org/splitter.html under Using a Pojo to do the splitting. There is no example of how to wire in my pojo using Spring config. I only see the java DSL. Has anyone

QuickFIXJ Filtering

2012-03-14 Thread Gershaw, Geoffrey
Hello, I would like to filter out a message if the FIX field 9101=N. I am able to do this by creating a bean that does this and calling the bean from the simple tag using the bean reference. See example below. I wondered if it would be possible to do this without the java class. filter

Dealing with a bean's return values

2012-02-07 Thread Gershaw, Geoffrey
Hello, Hoping that someone can help me with beans in my route. I have created the following route. I am using 3 beans in the route. 1. SecurityDefinitionFilter returns Boolean if we are interested in this SecurityDefinition 2. SecDefConverter transforms SecurityDefinition to a

RE: Passing parameter values to bean methods via spring

2012-02-01 Thread Gershaw, Geoffrey
: Passing parameter values to bean methods via spring Hi On Tue, Jan 31, 2012 at 5:10 PM, Gershaw, Geoffrey geoffrey.gers...@credit-suisse.com wrote: Hello, I am a newbie to Camel. I've read a bunch of docs, but have not found an answer to this specific use case. Welcome to the community

RE: Passing parameter values to bean methods via spring

2012-02-01 Thread Gershaw, Geoffrey
, @XPath(/Example/User) String user) { You may have to fiddle a bit to get the xpath expression working. Also sometimes you may have to use /text() to tell it to return the text content of the xml node. On Wed, Feb 1, 2012 at 3:05 PM, Gershaw, Geoffrey geoffrey.gers...@credit-suisse.com wrote

Passing parameter values to bean methods via spring

2012-01-31 Thread Gershaw, Geoffrey
Hello, I am a newbie to Camel. I've read a bunch of docs, but have not found an answer to this specific use case. 1. Assume the following. a. I have the belown XML msg in the body of my Message. Example Userjoe/User /Example b. I am using a bean as a