no it should cause i want that exception be propagated back to the caller, as
a hint, what has been going wrong.
Claus thx for the hint with the filter pattern, the only problem is, when
using it the bean isAuthZBlocked isnt able to receive meanwhile incoming
messages from another route.
or could it be that the bean isAuthZBlocked is blocked by camel, till the
second call is done
and the meanwhile incoming message is read just after that call ?
--
View this message in context:
http://camel.465427.n5.nabble.com/UnitTests-Timing-issues-tp4582016p4582202.html
Sent from the Camel -
my tests runs, but to test a received message from another Topic (received at
the bean isAuthZBlocked)
it would have to wait bit, ... (see Log, testing done before Imcoming has
processed)
as you see in my test... i use thread.sleep at the moment, which doesnt
really works , some other idea ?
Log
[
exactly,
when i take the filter, will it also allow me to throw an Exception , which
will be brought to the caller ? (so that it gets a feedback, why it has been
done)
thx..
--
View this message in context:
http://camel.465427.n5.nabble.com/whats-the-difference-between-these-routes-tp4563945p4565
this bean receives information from an other topic and should block the
incoming message, if the informations are matching this incoming message
and i thought that would be done through an Exception
--
View this message in context:
http://camel.465427.n5.nabble.com/whats-the-difference-between-th
the bean throws an exception,
that should end further transport
--
View this message in context:
http://camel.465427.n5.nabble.com/whats-the-difference-between-these-routes-tp4563945p4565242.html
Sent from the Camel - Users mailing list archive at Nabble.com.
the first one callled through a proxy, and the second is called directly in
my unitests
like
String response = (String)
inputEndpoint.requestBody("direct:injectRequest",getFileContent("src/main/resources/requests/request.xml"));
the problem is, that sometimes this sAuthZBlocked should block, the
yes, i do or shouldnt i do that ??
(context:i´m trying to use the topic as a many/many thing..., where
producers send and one consumer responds and a other just listens, which
should as close as possible to JMS (thats why i dont use a wiretap))
--
View this message in context:
http://camel.46542
thx, claus
but thats not the point, ... why is it on the wire ? , it´s the product of
an unmarshalling and directly inserted in an drools endpoints (see route),
so it shouldnt be there, am i right ?
--
View this message in context:
http://camel.465427.n5.nabble.com/Failed-to-build-body-from-cont
hey,
another problem i´m facing is ...
gets a xml as string
the method head looks like this:
public void checkRequest(
@XPath("/Request/Subject/Attribute[@AttributeId='urn:oasis:names:tc:xacml:1.0:subject:subject-id']/AttributeValue/text()")
String ref)
but the xml is like
i get this exception at broker A, where it shouldn´t appear in my opinition
the ClassNotFoundException is result of receiving the ContextRequestType
which sounds clear, but why do i receive it ?? because the class is the
result of the unmarshalling , so it shouldnt be directed to the wire , right
the exception says
Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid
content was found starting with element 'setHeader'. One of
'{"http://camel.apache.org/schema/blueprint":description,
"http://camel.apache.org/schema/blueprint":body}' is expected.
so the setHeader declar
http://camel.apache.org/file2.html
says that that the pattern for the file component is like that
file:directoryName[?options]
where directoryName is a directory and not a explicit file path
(if you take the fuse ide plugin and create a new project, there will be an
example where the file compo
hey,
i have a topic and two consumer have subscribed to it, the producer of the
topic is a proxy.
so the bean invocation is proxied to both subscribers, but what if i want
that only subscriber A should answer on this topic and the other (b) just
listens and consumes also the "real payload", which
if have configuirated an BrokerA<-> BrokerB connection, but it is always
doing this on and on ...
what does this error mean ?
config A
http://activemq.apache.org/schema/core";
brokerName="PdpAuthzServiceWrapper" persistent="false"
useJmx="false">
ok i did it this way:
Exception e = exchange.getProperty(Exchange.EXCEPTION_CAUGHT,
Exception.class);
i throught the exception is always set in the exchange, that is not correct.
you have access it through the properties
--
View this message in context:
http://camel.465427.n5.nabble.com/Is-i
ok the real problem is that the exeption is gone when i want to wrap it,
is there an option to set the exception in the exchange in the doTry block
, or give it as an parameter to the processor ?
--
View this message in context:
http://camel.465427.n5.nabble.com/Is-it-possible-to-propagate-an-
ok i have to confess the nullpointer was my fault,but i still loose my
parsing exception,
has it something to do with the doTry? (it has, i believe i´m loosing it
there)
--
View this message in context:
http://camel.465427.n5.nabble.com/Is-it-possible-to-propagate-an-exception-to-the-parent-ro
i´m trying that by wrapping an exception in a RuntimeCamelException and the
exception consumer is dewraping and throwing it again,
but at the producer i´m getting a nullpointer, so somewhere i´m loosing the
exception, cause i should get the runtimecamelException ...
any ideas ?
(thx, your answer
this case ?
what if the connection between the child and parent is
an activemq topic ?
an active queue ?
--
View this message in context:
http://camel.465427.n5.nabble.com/Is-it-possible-to-propagate-an-exception-to-the-parent-route-tp4541827p4541857.html
Sent from the Camel - Users mailing l
(1)http://camel.apache.org/activemq.html.. yes , it will create a queue (if
you wanna create a topiy you have got to declare it explicitly )
(2)http://camel.apache.org/log.html
log:loggingCategory[?options] "component logs message exchanges to the
underlying logging mechanism.","Where loggingCatego
i read this about connection pooling http://camel.apache.org/activemq.html
and efficient handling of connections sounds great, so i did it *g* (copy &
past)
but.. when testing like this (see at the end of the post), my mock
(outputEndpoint) reveices 10 messages, which has to be the consequence of
thx mr ibsen,
(https://issues.apache.org/jira/browse/AMQ-3184) (Upgrade to camel 2.6.0)
does that mean, that there exists no activemq version which works with camel
2.7.x
or didnt i get that the sense of your post..
--
View this message in context:
http://camel.465427.n5.nabble.com/Invocation
it crashes when i take camel version 2.7.0 +
when i start it with this properties all is fine
1.6
2.6.0-fuse-00-00
5.5.0
3.5
1.2.16
3.0.5.RELEASE
2.1
2.1.13
5.2.0.Final
thats really weird..
when i comment out this
the camel (2.7.2) is starting with
whats this ?
442 [org.apache.camel.spring.Main.main()] INFO
org.apache.camel.impl.converter.AnnotationTypeConverterLoader - Found 6
packages with 16 @Converter classes to load
3492 [org.apache.camel.spring.Main.main()] INFO
org.apache.camel.impl.converter.DefaultTypeConverter - Loaded 159 type
co
Thats the trace ouf my first: post
25723 [Camel (camel-3) thread #2 -
JmsReplyManagerTimeoutChecker[services.global.xacml.authzRequests]] ERROR
org.apache.camel.processor.DefaultErrorHandler - Failed delivery for
exchangeId: ID-student02-bonn-tarent-de-57172-1308667766469-1-3. Exhausted
after deliv
i have an set consisting of two active mq broker, one has an proxy
definition.like this
the other is the Service provider, like this:
all works fine: So now i just want to extend the set, by p
i have an set consisting of two active mq broker, one has an proxy
definition.like this
the other is the Service provider, like this:
all works fine: So now i just want to extend the set, by p
it is something like that that camel prppagates the exception back to the
consumer, which is the activemq queue, and waits there till it gets the
timeout?
But if it would be something like that, why do i catch an
UndeclaredThrowableException in the test ?
thx
--
View this message in context:
htt
i implemented an Proxy, which send the requests to an other activemq
instance,which answers the request:
(the broker are started with the peer protocol)
(Broker A)
(Broker B)
i want to fire that route in the camel-context.xml for testing purposes , i
thought that the direct component would do that by himself but, it doesnt
looks like...
is there command which have to add to the camel
sry but i dont really caught your intention.
here is the testclass(generated with the fuse-ide)
so yes it extends the CamelSpringTestSupport, it has an mock-endpoint
and what method did you mean?
public class CamelContextXmlTest extends CamelSpringTestSupport {
// expected message bodies
so
i wrote an unit test
@Test
public void testDirectSending() throws Exception{
// lets route from the output endpoints to our mock endpoints
so we can
assert expectations
context.addRoutes(new RouteBuilder() {
@Override
could it be that the bean is treated like an processor and not like an input
Endpoint (what i want to have)
--
View this message in context:
http://camel.465427.n5.nabble.com/what-did-i-forgot-Bean-integration-through-direct-start-tp4490510p4491646.html
Sent from the Camel - Users mailing list a
yeah the fuse-ide...
but still the same, hm maybe my maven is doing something...
--
View this message in context:
http://camel.465427.n5.nabble.com/what-did-i-forgot-Bean-integration-through-direct-start-tp4490510p4491358.html
Sent from the Camel - Users mailing list archive at Nabble.com.
thats the problem i´m sending nothing out of this class!!!
it seems like camel doesnt knows/uses it, but i added the bean in
camel-context
i have reduced it ...
So i just wanna send something out these class
(which would be comparable to http://camel.apache.org/bean.html (beans as
Endpoint))
pub
ok, let me explain:
i have serveral routes
Generate some processes to embedded
drools
still the same,
so i think camel isnt really using this class!
cause if it would there should be an exception that the xacml parsing fails,
cause there is no request file to parse without the consume annotation
so do i have to do somethink more , than just ?
--
View this message in context:
ht
yes i already tried it, it is something my fuse-ide eclipse plugin does , i
think,
(do you also have problems when trying to save the camel-context, that you
have to switch to design and back to source before it really saves the
context you wrote ?)
but it is still the same no request received
i got this class
public class XacmlRequester {
@Produce(uri = "activemq:topic:xacml.authzRequests")
ProducerTemplate producer;
@InOnly
@Consume(uri = "file:src/data/requests?noop=true")
public void generateRequest(File request){
40 matches
Mail list logo