i'm using apache camel 2.16.08, In my project need to send map of property value to the processor.i want create map in Spring Xml . Please help out of this.if you want more information let me know.
Advance thanks
Here you can see some examples:
http://www.mkyong.com/spring/spring-collections-list-set-map-and-properties-example/
Related
I am using camel and use JOLT transformer to transform from JSON TO JSON and it works fine when deploying on spring boot or even when using camel as stand-alone. But when trying to switch to Camel-K I am facing some problems, I cant refer to the Jolt template transformation inside the camel route or even add it to the deployment. Anybody have the info on how can I attach the Jolt transformer template to camel K to be able to use it in the route.
Thanks.
you can use the --resource flag to add a resource to the camel-k classpath:
kamel run my-integration.groovy --resource=spec.json
and then use in in your integration
to('jolt:spec.json')
we are working on improving the support for resource handling: https://github.com/apache/camel-k/issues/2003
Hello Everyone!
Currently i'm working on a proyect where every customer can add it's store to add some services and stuff. Even when the view it's the same for all stores (obviously loading each store own data) i would like to create an url using as subdomain the store name like this.
Let's say the store name is : The Wolf
So the URL i would like it to have is : thewolf.mycustomdomain.com
I'm currently working on React js using react-router-dom so i would like to ask to this community if anyone knows how to make this happen.
Thanks in advance if anyone can give me some hints!
You can not create subdomains in react. You need to configure a proxy for it. You can look at this post for more information.
We are trying to create Salesforce pages using ManyWho.
-Can we create a Lookup field in ManyWho?
-Can we show/hide the section dynamically in ManyWho?
-Can we create dependent picklist in ManyWho flow?
If anyone knows the answer/any document for these questions. Please share.
Thanks in advance
Raja
You can use page conditions in ManyWho (Boomi Flow now) to show/hide sections.
You can find more content on using ManyWho and Salesforce here - https://docs.manywho.com/
HTH.
Cheers.
We (Salesforce) have recently published two new unofficial Flow Screen Components that greatly improve your ability to declaratively do this.
See:
https://medium.com/#alexedelstein/dynamic-questions-in-lightning-flow-b0269ee373ce
https://medium.com/#alexedelstein/dependentpicklists-a-flow-screen-component-c97dcee1796
Is there any way to get CRX content without using OSGI service?
Am looking for an use case to implement a top navigation for a website which is required to read page names and its properties via javascript framework like angular JS.
You could get it as JSON or XML, make a server call to path with extension XML or JSON. JSON allows you depth based selectors to go down the tree hierarchy not sure if its same with XML.
/my/page/path.xml or /my/page/path.<depth>.json, you can get the hostname and port details from the request URI to make the complete URL for the data call.
I would suggest you use the following JSON API's provided by sling to accomplish your task of getting page names and its properties.
Firstly to crawl all the pages under a given path, you need to use the .pages.json selector. For example to get all child pages of /content/company/en_US, perform a JSON GET on
HTTP GET <Host>/content/company/en_US.pages.json
Next for each path returned by the above GET call, you need to grab the _jcr_content.json of the page
(E.g.)
HTTP GET <Host>/content/company/en_US/home/_jcr_content.json
The above JSON call should provide you all the page properties of this particular page.
Please Note: The above method is generic and can be applied to any JCR Path hosted in Sling/AEM. Also typically you cannot get this level of JCR access in a publisher environment due to security rules that might prevent JCR crawling. Hope this helps
I am using Salesforce API on my project, but interesting thing happens and i can query all
fields except picklists :(
Can someone help me with that?
Thankx
Make changes in the xslt by adding the fields which need to display.Then it will display all the fields you specified