Here is an example which explains the need for HashMap. As part of camel-snmp
component, we want to pass the trap information (oid = value http://camel.465427.n5.nabble.com/Camel-URI-parameters-to-support-HashMap-k-v-tp4794389p4796913.html
Sent from the Camel Development mailing list archive at Nab
Hi,
I had a requirement to pass a map of key,value pairs in the endpoint URI
which are dynamic in nature (both key and value). is there a way to pass
these values in the URI as arguments or any alternative to do this?
Thanks & Regards,
Gangadhar.Katakam
--
View this message in context:
http://c
Thank you for the reply.
I am sorry to bother you.
I have searched in the camel users group and found the solution.
--
View this message in context:
http://camel.465427.n5.nabble.com/XML-to-JSON-conversion-tp2837615p2849256.html
Sent from the Camel Development mailing list archive at Nabble.co
Hi,
I am doing xslt transformation into xml file. In my transformation file, i
am using new namespace
xmlns:ns1="http://another.org/xslt"; exclude-result-prefixes="ns1"
After transforming the xml file, i am getting the output in xml as follows:
http://another.org/xslt";>16777216
http://
Thank you for the reply.
I am trying to unmarshalling the xml format to java object but i am getting
the following error.
Caused by: javax.xml.bind.JAXBException: "com.example.SNMPPojo.class" doesnt
contain ObjectFactory.class or jaxb.index
can you please let me know how to resolve this?
--
Vi
Thanks for the reply.
If i convert xml -> java object -> json (format), will there be any
performance impact?
I am looking for a direct conversion in Camel. does Camel provide this kind
of feature?
--
View this message in context:
http://camel.465427.n5.nabble.com/XML-to-JSON-conversion-tp283
Hi,
I am using Camel-SNMP in one of our requirement. Camel-SNMP process the
OID's and provide XML as the output. I want to convert this to JSON format.
is there a way to convert the output XML to JSON format?
Thanks in advance.
Best Regards,
Gangadhar.Katakam
--
View this message in context:
Thanks for the quick reply.
Well. I have tested polling is happening for the OID's which we sent to the
target but will not get the next values (means GETNEXT).
Example:
snmp:<>:161?protocol=udp&type=POLL&oids=1.3.6.1.2.1.2.2.1.2,1.3.6.1.2.1.2.2.1.3
Here It will poll for the OID's which we pa
Hi,
I am evaluating Camel SNMP for one of our project. I was just going through
the SNMP API. I found that the current code only supports SNMP GET Calls, as
the SnmpOIDPoller.java -> poll() method has an hard-coded value i.e.
this.pdu.setType(PDU.GET); and the ScheduledPollConsumer.java thread i