Re: camel-salesforce fallBackReplayId not working

2025-03-23 Thread Claus Ibsen
Hi Okay you are welcome to create a JIRA ticket. Also if you have the chance then try with Camel 4.10.2 release also. And if you have the opportunity then you are welcome to check the source code in camel-salesforce, and see if you can fix this, and send a patch/PR. On Tue, Mar 18, 2025 at 9

RE: camel-salesforce fallBackReplayId not working

2025-03-18 Thread Alexei Cubata
Hi Same issue with Camel 4.8.5. Thanks -Original Message- From: Claus Ibsen Sent: March 18, 2025 12:27 AM To: users@camel.apache.org Subject: Re: camel-salesforce fallBackReplayId not working Hi Can you try with Camel 4.8.5 release. On Tue, Mar 18, 2025 at 1:40 AM Alexei Cubata

Re: camel-salesforce fallBackReplayId not working

2025-03-17 Thread Claus Ibsen
Hi Can you try with Camel 4.8.5 release. On Tue, Mar 18, 2025 at 1:40 AM Alexei Cubata wrote: > Hello Camel Users, > > I am using the Camel 4.8.3 Salesforce consumer to consume Platform Events: > > > salesforce:subscribe:/event/Process_Orchestration_Data__e?initialReplayIdMap=#bean:mapBuilder&

camel-salesforce fallBackReplayId not working

2025-03-17 Thread Alexei Cubata
Hello Camel Users, I am using the Camel 4.8.3 Salesforce consumer to consume Platform Events: salesforce:subscribe:/event/Process_Orchestration_Data__e?initialReplayIdMap=#bean:mapBuilder&fallBackReplayId=-1 fallBackReplayId endpoint query parameter is not working as expected. The consumer keeps

Re: camel-salesforce | Pub/Sub API infinite resubscribe loop

2025-01-22 Thread Claus Ibsen
Hi Thanks for reporting. This seems like a rare situation but can happen again if there is no activity for that long period of time. You are welcome to create a JIRA and send your patch as a PR against the main branch. This makes it easier for us and others to help review. I am not sure if you we

camel-salesforce | Pub/Sub API infinite resubscribe loop

2025-01-20 Thread j_b_s34
Hello, my application subscribes to some Change Data Capture events. During the holidays, there were no new events for more than 3 days, which caused the PubSubApiClient to try to resubscribe indefinitely due to a corrupt replay id. Events are retained for 3 days: https://developer.salesforce.c

Re: Camel Salesforce Component & Plugin Issues

2020-08-18 Thread Jean-Baptiste Onofre
Hi Jean-Marc, Did you create a Jira about that already ? Do you use the maven plugin to generate the DTOs ? Regards JB > Le 17 août 2020 à 19:38, Jean-Marc Reynaud a > écrit : > > Dear Camel Team, > > > I'm facing a bit of a show-stopper with the Camel Salesfo

Camel Salesforce Component & Plugin Issues

2020-08-17 Thread Jean-Marc Reynaud
Dear Camel Team, I'm facing a bit of a show-stopper with the Camel Salesforce Component. The SOQL query in question is: SELECT Account.Owner.Id, Lookup(User) Account.Owner.Name, Lookup(User) Id, Name, Owner.Id, Lookup(User) Owner.Name, L

Re: Not able to get Salesforce Platform events in JSON format with Camel Salesforce

2020-08-11 Thread Saiteja
I finally got it working with following: PlatformEvent platformEvent = exchange.getIn().getBody(PlatformEvent.class); System.out.println("JSON = " + JSON.toString(platformEvent.getEventData())); On Mon, Aug 10, 2020 at 7:11 PM Saiteja wrote: > Hi, > > I'm not able to get Salesforce platform e

Not able to get Salesforce Platform events in JSON format with Camel Salesforce

2020-08-10 Thread Saiteja
Hi, I'm not able to get Salesforce platform events in JSON format. I receive the payload in the following format when set rawPayload=true&format=JSON I used Camel 2.23.x {data={schema=vzd40uytS5DC7A3Qshi1wQ, payload={TestNull__c=null, News_Content__c=Fuse Test 2, CreatedById=0053t07YosdAAC, C

Re: Camel Salesforce Component can't find Platform Event object

2020-05-25 Thread Anne Nguyen
hu, May 21, 2020 at 8:47 AM Anne Nguyen wrote: > > > 0 > > > > I have used camel-salesforce-maven-plugin to generate the DTO and have > > successfully created a Contact record. However, when I tried to emit an > > event following the docs on: > > > &

Re: Camel Salesforce Component can't find Platform Event object

2020-05-25 Thread Omar Al-Safi
Hi Anne, Which Camel version do you use here? Regards, Omar On Thu, May 21, 2020 at 8:47 AM Anne Nguyen wrote: > 0 > > I have used camel-salesforce-maven-plugin to generate the DTO and have > successfully created a Contact record. However, when I tried to emit an > event follow

Re: Camel Salesforce Component can't find Platform Event object

2020-05-21 Thread Anne Nguyen
Thanks to @Otavio Rodolfo Piske suggestion of setting the api version higher than 34 (in my case I set it to 48) and it works fine now.

Re: Unable to subscribe to Salesforce Platform Event with camel-salesforce-3.4.0-SNAPSHOT

2020-05-21 Thread Anne Nguyen
e=500}] > > > > org.apache.camel.component.salesforce.api.SalesforceException: Error > > subscribing to event/Moodle__e: {httpCode=500} > > at > > org.apache.camel.component.salesforce.internal.streaming.SubscriptionHelper$7.onMessage(SubscriptionHelper.

Re: Unable to subscribe to Salesforce Platform Event with camel-salesforce-3.4.0-SNAPSHOT

2020-05-21 Thread Otavio Rodolfo Piske
ent.salesforce.api.SalesforceException: Error > subscribing to event/Moodle__e: {httpCode=500} > at > org.apache.camel.component.salesforce.internal.streaming.SubscriptionHelper$7.onMessage(SubscriptionHelper.java:446) > [camel-salesforce-3.4.0-SNAPSHOT.jar:3.4.0-SNAPSHOT] > at > org.cometd.common.AbstractClientSessi

Unable to subscribe to Salesforce Platform Event with camel-salesforce-3.4.0-SNAPSHOT

2020-05-20 Thread Anne Nguyen
bscriptionHelper$7.onMessage(SubscriptionHelper.java:446) [camel-salesforce-3.4.0-SNAPSHOT.jar:3.4.0-SNAPSHOT] at org.cometd.common.AbstractClientSession$AbstractSessionChannel.notifyOnMessage(AbstractClientSession.java:583) [cometd-java-common-4.0.4.jar:4.0.4] at org.cometd.

Camel Salesforce Component can't find Platform Event object

2020-05-20 Thread Anne Nguyen
0 I have used camel-salesforce-maven-plugin to generate the DTO and have successfully created a Contact record. However, when I tried to emit an event following the docs on: https://camel.apache.org/components/latest/salesforce-component.html I received the following error: 2020-05-21 13:30

camel-salesforce - Subscription fails with a org.cometd.common.TransportException: {httpCode=500}

2020-04-23 Thread Gerald Kallas
Hi all, I've following route http://www.osgi.org/xmlns/blueprint/v1.0.0"; xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0 https:

Re: camel-salesforce

2020-04-21 Thread Gerald Kallas
Works like a charm, thanks! It was needed to add 3 different certs to the truststore and finally I got a valid response. I wonder if there's another way to specify the the truststore reference? Best - Gerald > Reji Mathews hat am 21. April 2020 02:55 geschrieben: > > > Create a java keysto

Re: camel-salesforce

2020-04-20 Thread Reji Mathews
Create a java keystore file, import the certificate into it and pass the file along as jvm option. Refer https://stackoverflow.com/questions/8980364/how-do-i-find-out-what-keystore-my-jvm-is-using where author shows how to pass a keystore as jvm option. By default, it tries to pick up the cacerts

camel-salesforce

2020-04-20 Thread Gerald Kallas
Dear community, while connecting to a salesforce instance I'm getting an error java.lang.RuntimeException: org.apache.camel.component.salesforce.api.SalesforceException: Unexpected login error: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to fin

camel-salesforce, dto classes fails to load in the case of get* methods

2019-07-15 Thread Sowjanya Mudimala
Hi, I am on camel 2.17.6 ( via Talend ESB tool) I am using camel-salesforce component to call getSObjectId method. Generated a DTO lib using maven plugin. I am running it in Karaf OSGI environment. Karaf has camel-salesforce feature is installed. camel-core is also an installed feature. Camel

Re: camel-salesforce : connect failure due to "error=403::Unknown client"

2018-10-04 Thread Zoran Regvart
ubscription > client to fail at some point. > attached the debug logs (1.txt). > > I am hitting the same issue with both AuthenticationType.USERNAME_PASSWORD and > AuthenticationType.JWT. > > doesn't seem like the camel-salesforce component retries on below > message (

camel-salesforce : connect failure due to "error=403::Unknown client"

2018-10-03 Thread Sowjanya Mudimala
AuthenticationType.USERNAME_PASSWORD and AuthenticationType.JWT. doesn't seem like the camel-salesforce component retries on below message ( when advice is reconnect=none). [CHANNEL:META_CONNECT]: {clientId=4ax18g474mdxneef13qtpln3p55cw, advice=(reconnect=none{reconnect=none, interval=0}, channel=/meta/connect,

Re: query limit of 200 records in camel-salesforce

2018-09-24 Thread Dicken George
ry the next > > set of 200 records by querying so. > > /vXX.X/query/*query identifier* > > > > You can find more information on this topic over here: > > > https://developer.salesforce.com/docs/atlas.en-us.206.0.api_rest.meta/api_rest/resources_query.htm > >

Re: query limit of 200 records in camel-salesforce

2018-09-21 Thread Zoran Regvart
ery identifier* > > You can find more information on this topic over here: > https://developer.salesforce.com/docs/atlas.en-us.206.0.api_rest.meta/api_rest/resources_query.htm > > however as i understand from the camel-salesforce library, this function is > currently not imp

Fwd: camel-salesforce: Platform event subscription fails pretty frequently

2018-09-06 Thread Sowjanya Mudimala
Hi, I have a simple route to subscribe to Salesforce platform event and send to AWS-SQS queue. I am using mvn to execute the jar. sometimes code is working fine and prints the platform event data. but most of the times as soon as I run the jar, I see the attached "org.cometd.common.TransportExcept

query limit of 200 records in camel-salesforce

2018-06-18 Thread Dicken George
. /vXX.X/query/*query identifier* You can find more information on this topic over here: https://developer.salesforce.com/docs/atlas.en-us.206.0.api_rest.meta/api_rest/resources_query.htm however as i understand from the camel-salesforce library, this function is currently not implemented with the

Re: Camel-salesforce Intermittent time outs

2018-05-22 Thread Zoran Regvart
ntirely as the request the Camel Salesforce component made against the Salesforce API took longer that the default timeout and might take longer than any other timeout you set. This is entirely an issue of the server side processing done at Salesforce or any other system Salesforce subsequently inte

Re: Camel Salesforce Component - getBatch

2018-03-02 Thread satyanarayana katta
We are using camel version 2.20.1. One more interesting thing I found. When I use the camel salesforce component in routes, everything works fine. from("salesforce:createJob") .to("salesforce:createBatch") .to("salesforce:getAllBatches") .dowhile() ==> to chec

Re: Camel Salesforce Component - getBatch

2018-03-02 Thread Claus Ibsen
Hi What version of Camel do you use? On Thu, Mar 1, 2018 at 9:12 AM, satyanarayana katta wrote: > Hi, > > I was trying to use the Camel Salesforce Component for doing the Bulk > Upload. All the steps of the bulk upload works fine like > 1. salesforce:createJob -

Fwd: Camel Salesforce Component - getBatch

2018-03-01 Thread satyanarayana katta
Hi, I was trying to use the Camel Salesforce Component for doing the Bulk Upload. All the steps of the bulk upload works fine like 1. salesforce:createJob - Works fine 2. salesforce:createBatch - Works fine 3. salesforce:getAllBatches - Works fine 4. salesforce:getBatch - Always FAILS 5

Camel-salesforce Intermittent time outs

2018-01-31 Thread Dalli Kranthi Kumar
Hi, We are using the sales force component and trying to write to external salesforce health cloud using the camel salesforce component. Most of the times, the data seem to flow. However abruptly I see the below errors. If I reprocess the failed one again, it would work. But looks like this

camel-salesforce component unable to unmarshall nested query results

2016-12-13 Thread Doug Douglass
I'm new to Salesforce and was really hoping to make use of the camel-salesforce component to jump start an integration project. Unfortunately, I've hit a wall and need to confirm whether the component should support unmarshalling results of query API call with a query containing a sub-s

Camel Salesforce, safe to remove XStream annotations from velocity templates?

2016-06-29 Thread raffi
We're using Camel Salesforce Maven plugin for generating DTOs. Services using the DTOs use JSON exclusively, no XML, so we customized velocity templates with JsonProperty(), JsonInclude, etc., annotations; works great with Jackson. My question: is it safe to remove XStream annotations fro

Re: camel salesforce component date time issue

2016-06-27 Thread arno noordover
.465427.n5.nabble.com/camel-salesforce-component-date-time-issue-tp5784399p5784467.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel salesforce component date time issue

2016-06-27 Thread arno noordover
the discussion > below: > > http://camel.465427.n5.nabble.com/camel-salesforce-component-date-time-issue-tp5784399p5784467.html > To unsubscribe from camel salesforce component date time issue, click here > <http://camel.465427.n5.nabble.com/

Re: camel salesforce component date time issue

2016-06-27 Thread ssatguru
milliseconds since January 1, 1970, 00:00:00 GMT) Salesforce seems to accept that. Need to get some verification on that though. Here's the relevant Camel SaleForce component code https://github.com/apache/camel/blob/master/components/camel-salesforce/camel-salesforce-component/src/main/jav

Re: camel salesforce component date time issue

2016-06-26 Thread arno noordover
n for 2.18 and try to cherry-pick it in 2.17. I already created https://issues.apache.org/jira/browse/CAMEL-10090 Who will decide what to do? -- View this message in context: http://camel.465427.n5.nabble.com/camel-salesforce-component-date-time-issue-tp5784399p5784408.html Sent from the Cam

Re: camel salesforce component date time issue

2016-06-26 Thread arno noordover
e. In my tests I seem to need a jackson SimpleModule: -- View this message in context: http://camel.465427.n5.nabble.com/camel-salesforce-component-date-time-issue-tp5784399p5784404.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel salesforce component date time issue

2016-06-26 Thread Claus Ibsen
On Sat, Jun 25, 2016 at 5:23 PM, ssatguru wrote: > camel salesforce component has issues with dates less than or equal to > "November 18th 1883". > I am intrigued to hear what is the use-case is for using dates going so far back? And if there is such a problem, has

Re: camel salesforce component date time issue

2016-06-25 Thread arno noordover
cally correct, the xsd datetime don't expect seconds in de timezone-offset. -- View this message in context: http://camel.465427.n5.nabble.com/camel-salesforce-component-date-time-issue-tp5784399p5784400.html Sent from the Camel - Users mailing list archive at Nabble.com.

camel salesforce component date time issue

2016-06-25 Thread ssatguru
camel salesforce component has issues with dates less than or equal to "November 18th 1883". These dates are serialized to a format unacceptable to SalesForce. For example Date 1800-01-01 is serialized by this component as 1800-01-01T00:00:00.000-05:50:36 Salesforce respond

camel salesforce component support for lookup field

2016-06-15 Thread ssatguru
an object in which case it would contain the other Object's external field name and it value in that other record. By default the Camel SalesForce component seems to support the string type (that is the record id type). Is there no support for the second type (that is the external field name

camel-salesforce enum class generation overrides itself

2016-04-17 Thread sohrab
I am not sure what is the reasoning behind stripping '__c' from the enum class names when generating DTOs in camel-salesforce: https://github.com/apache/camel/blob/master/components/camel-salesforce/camel-salesforce-maven-plugin/src/main/java/org/apache/camel/maven/CamelSalesforceMojo

Camel Salesforce Component

2016-02-15 Thread kag
uot;proxyUser"); System.setProperty("http.proxyPassword", "proxyPassword"); Then the problem vanished. This leads us to believe that somewhere in the CometD wrapping, the HTTP Proxy information is forgotten or lost. -- View this message in context: http://camel.465427.n5.na

Re: camel-salesforce-maven-plugin picklist to enum generation

2016-02-15 Thread kag
klist should be mapped to String or Enums. Have you had any discussions on this issue? What are your thoughts on this? -- View this message in context: http://camel.465427.n5.nabble.com/camel-salesforce-maven-plugin-picklist-to-enum-generation-tp5776908p540.html Sent from the Camel - Use

Re: camel-salesforce-maven-plugin picklist to enum generation

2016-01-29 Thread kag
og Timeline are we looking at for this fix? Needless to sat, we need it yesterday ;-) -- View this message in context: http://camel.465427.n5.nabble.com/camel-salesforce-maven-plugin-picklist-to-enum-generation-tp5776908p5777005.html Sent from the Camel - Users mailing list archive at

Re: camel-salesforce-maven-plugin picklist to enum generation

2016-01-29 Thread Dhiraj Bokde
those > name clashes? And would there be a way to reproduce the issue with the > existing camel-salesforce component we have at Apache ? > > > > > > > > On Thu, Jan 28, 2016 at 2:44 PM, kag wrote: > > Hello all, > > > > We are currently looking into u

Re: camel-salesforce-maven-plugin picklist to enum generation

2016-01-29 Thread kag
We are expecting to use all the different API's. E.g. Salesforce Rest API and Salesforce Streaming API. We are calling API version 35. Please let me know if I can provide you with more information. -- View this message in context: http://camel.465427.n5.nabble.com/camel-salesforce-

Re: camel-salesforce-maven-plugin picklist to enum generation

2016-01-29 Thread Claus Ibsen
n to avoid those name clashes? And would there be a way to reproduce the issue with the existing camel-salesforce component we have at Apache ? On Thu, Jan 28, 2016 at 2:44 PM, kag wrote: > Hello all, > > We are currently looking into using Camel for integrating with our > salesf

camel-salesforce-maven-plugin picklist to enum generation

2016-01-28 Thread kag
Hello all, We are currently looking into using Camel for integrating with our salesforce org. To do this we plan to use the salesforce component and the camel-salesforce-maven-plugin which generates DTO classes based on the metadata fetched from salesforce. We have encountered a problem when

Re: how to get loginConfig into standalone camel salesforce component

2015-09-25 Thread rpcat
QueryRecordsSchedule__c.class); template.sendBody(queryRecords); } } -- View this message in context: http://camel.465427.n5.nabble.com/how-to-get-loginConfig-into-standalone-camel-salesforce-component-tp5771694p5771996.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: how to get loginConfig into standalone camel salesforce component

2015-09-23 Thread rpcat
it's not getting the salesforce component into the camel context -- View this message in context: http://camel.465427.n5.nabble.com/how-to-get-loginConfig-into-standalone-camel-salesforce-component-tp5771694p5771878.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: how to get loginConfig into standalone camel salesforce component

2015-09-23 Thread rpcat
rt.start(ServiceSupport.java:61) at org.apache.camel.main.MainSupport.run(MainSupport.java:150) at com.disney.datg.Driver.startDriver(Driver.java:77) at com.disney.datg.Driver.main(Driver.java:88) -- View this message in context: http://camel.465427.n5.nabble.com/how-to-get-l

Re: how to get loginConfig into standalone camel salesforce component

2015-09-21 Thread Christian Müller
upport$HangupInterceptor INFO > Received hang up - stopping the main instance. > > suggestions would be greatly appreciated. > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/how-to-get-loginConfig-into-standalone-camel-salesforce-component-tp5771694.html > Sent from the Camel - Users mailing list archive at Nabble.com. >

how to get loginConfig into standalone camel salesforce component

2015-09-20 Thread rpcat
main instance. suggestions would be greatly appreciated. -- View this message in context: http://camel.465427.n5.nabble.com/how-to-get-loginConfig-into-standalone-camel-salesforce-component-tp5771694.html Sent from the Camel - Users mailing list archive at Nabble.com.

camel-salesforce wiki updates, examples

2015-01-22 Thread Daniel Pocock
I've added an example showing how to upload a document to a content workspace: http://camel.apache.org/salesforce.html Does anybody else have any useful examples they could share for this component?

camel-salesforce - Patch created for some configuration issues

2014-08-08 Thread rickaroni
Hiya, I've created a patch for the camel-salesforce component and submitted it as an attachement for this Jira https://issues.apache.org/jira/browse/CAMEL-7413?jql=text%20~%20%22camel-salesforce%22 It fixes some configuration issues and documentation bugs. I'll start tackling s

Camel - Salesforce example

2014-01-07 Thread kcs129
} catch (Exception e) { fail(e.getMessage()); } } -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Salesforce-example-tp5745712.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Configuration to use camel salesforce component

2013-12-15 Thread Willem Jiang
> > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Configuration-to-use-camel-salesforce-component-tp5744779p5744816.html > > Sent from the Camel - Users mailing list archive at Nabble.com. >

Re: Configuration to use camel salesforce component

2013-12-15 Thread shmahajan
salesforce. so donot know exaclty how to proceed? Regards Shital -- View this message in context: http://camel.465427.n5.nabble.com/Configuration-to-use-camel-salesforce-component-tp5744779p5744816.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Configuration to use camel salesforce component

2013-12-15 Thread Claus Ibsen
A good idea could be to take a look at some of the unit tests of camel-salesforce in the source code On Sat, Dec 14, 2013 at 7:44 PM, shmahajan wrote: > Hi, > I have created maven project to create conectivity with salesforce. > Below is my camel context file. I have set dependenc

Configuration to use camel salesforce component

2013-12-14 Thread shmahajan
Hi, I have created maven project to create conectivity with salesforce. Below is my camel context file. I have set dependency for all required camel components along with camel salesforce plugin in pom.xml. But I don't understand how to set loginConfig for SalesForceComponent defined in