Re: A video intro for Camel

2020-04-14 Thread Christina Lin
My videos are made for people that want to get started...
Hopefully to grow the community, I would say with the components, maybe the
most popular ones are worth doing..


On Mon, Apr 13, 2020 at 8:25 PM Arun Mannuru  wrote:

> Can we start making videos for different camel components, enterprise
> integration patterns and best practice, I don't see many resources for
> apache camel.Let me know your thoughts.
>
>
> On Mon, Apr 13, 2020 at 10:08 AM Christina Lin  wrote:
>
>> Been doing some videos for Camel, and created this video intro,
>>
>> https://drive.google.com/file/d/1bMTnDvm3UMMfVvPhciGy7ir23W_pH0OX/view?usp=sharing
>> If you like, anyone is welcome to use it. :) Thanks.
>>
>> -Christina Lin
>>
>
>
> --
> Arun Mannuru
> Phone: +1 618 604-6499
> Email: arunm...@gmail.com
> Website: www.arunmannuru.com
> LinkedIn: https://www.linkedin.com/in/arunmannuru
>


Re: Problem with swagger in the camel-example-servlet-rest-tomcat

2015-05-21 Thread Christina Lin
I was using the latest snapshot. 
After your replay, 
I checked again with the 2.15.x branch, and it worked!!! 

Thanks!

-Christina



--
View this message in context: 
http://camel.465427.n5.nabble.com/Problem-with-swagger-in-the-camel-example-servlet-rest-tomcat-tp5767376p5767381.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Problem with swagger in the camel-example-servlet-rest-tomcat

2015-05-21 Thread Christina Lin
I wanted to see how swagger works, but is having trouble with the 
camel-example-servlet-rest-tomcat quickstart example. After packaging it,
and placing the WAR file in Tomcat 8.0.22. I was able play with the rest
service without any problem. 

BUT, I was not able to get the
http://localhost:8080/camel-example-servlet-rest-tomcat/api-docs; swagger
API page working. 

It shows a NullPointerException. Is there a specific version of Tomcat that
we need to use? 

java.lang.NullPointerException

org.apache.camel.component.swagger.RestSwaggerReader$$anonfun$createParameters$2.apply(RestSwaggerReader.scala:190)

org.apache.camel.component.swagger.RestSwaggerReader$$anonfun$createParameters$2.apply(RestSwaggerReader.scala:179)

scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(TraversableLike.scala:772)
scala.collection.Iterator$class.foreach(Iterator.scala:727)
scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
scala.collection.AbstractIterable.foreach(Iterable.scala:54)

scala.collection.TraversableLike$WithFilter.foreach(TraversableLike.scala:771)

org.apache.camel.component.swagger.RestSwaggerReader.createParameters(RestSwaggerReader.scala:179)

org.apache.camel.component.swagger.RestSwaggerReader$$anonfun$read$2.apply(RestSwaggerReader.scala:123)

org.apache.camel.component.swagger.RestSwaggerReader$$anonfun$read$2.apply(RestSwaggerReader.scala:70)

scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(TraversableLike.scala:772)

scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)

scala.collection.TraversableLike$WithFilter.foreach(TraversableLike.scala:771)

org.apache.camel.component.swagger.RestSwaggerReader.read(RestSwaggerReader.scala:70)

org.apache.camel.component.swagger.RestApiListingCache$$anonfun$listing$1$$anonfun$apply$1.apply(RestApiListingCache.scala:42)

org.apache.camel.component.swagger.RestApiListingCache$$anonfun$listing$1$$anonfun$apply$1.apply(RestApiListingCache.scala:41)
scala.collection.immutable.List.foreach(List.scala:318)

scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:32)
scala.collection.mutable.ListBuffer.foreach(ListBuffer.scala:45)

org.apache.camel.component.swagger.RestApiListingCache$$anonfun$listing$1.apply(RestApiListingCache.scala:41)

org.apache.camel.component.swagger.RestApiListingCache$$anonfun$listing$1.apply(RestApiListingCache.scala:38)
scala.Option.orElse(Option.scala:257)

org.apache.camel.component.swagger.RestApiListingCache$.listing(RestApiListingCache.scala:38)

org.apache.camel.component.swagger.RestSwaggerApiDeclarationServlet.renderResourceListing(RestSwaggerApiDeclarationServlet.scala:171)

org.apache.camel.component.swagger.RestSwaggerApiDeclarationServlet.doGet(RestSwaggerApiDeclarationServlet.scala:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

org.apache.camel.component.swagger.RestSwaggerCorsFilter.doFilter(RestSwaggerCorsFilter.scala:44)
  



--
View this message in context: 
http://camel.465427.n5.nabble.com/Problem-with-swagger-in-the-camel-example-servlet-rest-tomcat-tp5767376.html
Sent from the Camel - Users mailing list archive at Nabble.com.