i am trying to write an entity to database with camel jpa component. The
problem is that i get
javax.persistence.TransactionRequiredException: no transaction is in
progress
at
org.hibernate.internal.SessionImpl.checkTransactionNeeded(SessionImpl.java:3428)
at
Can you show us the camel route?
It looks like you are trying to send a XML message to the CXF server.
We need to find out where the exception is thrown.
--
Willem Jiang
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang
Weibo: 姜宁willem
I have the following camel rest configuration
/
/
How can I change the request timeout for this endpoint ? I would like to
increase the timeout, by default jetty set to 3 ms.
I tried adding /httpClient.timeout="30"/
FYI: if your camel header is named "camel.is.great" then the JMS property
will be named "camel_DOT_is_DOT_great"
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-JMS-Properties-tp5787616p5787736.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Please accept this request
On Mon, Sep 19, 2016 at 11:01 PM, sari.reach [via Camel] <
ml-node+s465427n5787728...@n5.nabble.com> wrote:
> cxf-core 3.1.7 is not validating the xml with xsd at appropriate location
>
> Exception says: Could not generate the XML stream caused by:
>
cxf-core 3.1.7 is not validating the xml with xsd at appropriate location
Exception says: Could not generate the XML stream caused by:
org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of
element 'ATT_CheckRS'..
Sample code is as below
import org.apache.camel.Exchange;
PS I've likely missed something in that XML sample because I don't see a
direct:in nor the increment route. It's more just how I end up backing out
until I can figure out the source of my problems - other than visiting a
shrink.
On Mon, Sep 19, 2016 at 1:21 PM, Brad Johnson
That's one of the downsides to using the blueprint XML. I used to use it
exclusively but have started the change to using the Java DSL and route
builders and using blueprint just to bootstrap it. That keeps the
blueprint headers very clean then - just blueprint itself and the cm for
properties
Can you please explain your problem in step by step and preferably with
some code and logs?
On Mon, Sep 19, 2016 at 7:45 PM, sari.reach [via Camel] <
ml-node+s465427n5787732...@n5.nabble.com> wrote:
>
>
> On Mon, Sep 19, 2016 at 11:14 PM, sari.reach [via Camel] <[hidden email]
>
On Mon, Sep 19, 2016 at 11:14 PM, sari.reach [via Camel] <
ml-node+s465427n5787731...@n5.nabble.com> wrote:
> Messages subscribed to Websphere MQ using camel for a plain text messages
> are subscribed but
> when headers are set to camel message and posted. These messages are not
> being
Messages subscribed to Websphere MQ using camel for a plain text messages are
subscribed but
when headers are set to camel message and posted. These messages are not
being subscribed to websphere MQ however these are subscribed with a
standalone application.
--
View this message in context:
Hi
See this FAQ
http://camel.apache.org/how-can-i-stop-a-route-from-a-route.html
On Mon, Sep 19, 2016 at 1:19 PM, redpower1989 wrote:
> Hello i am trying to stop the route when the application detects that there
> is no database connection. First in camelContect
>
>
>
Hello i am trying to stop the route when the application detects that there
is no database connection. First in camelContect
org.springframework.jdbc.CannotGetJdbcConnectionException
Inside my stopRoutePolicy bean:
public void
Hi,
I'm currently facing a problem trying to handle an exception thrown in a sub
route invoked from a REST endpoint.
The following route context defines the sub-route:
http://camel.apache.org/schema/spring;>
Brad,
Thank you for your response. Yes the default property in
cm:default-properties is over-ridden in the .cfg loaded in
loadConfigAdminConfigurationFile(). I was then logging {{foo}} in the
route.
All of this appears to be working correctly.
I took your advice and ripped out everything to
I ended up NOT using Camel consumerTemplate. Instead used a custom approach
of reading files from a remote ftp server. Quicker, reliable and allows the
option of specifying absolute paths!
--
View this message in context:
16 matches
Mail list logo